Switch to windoof

This commit is contained in:
sageTheDM 2024-11-26 16:18:23 +01:00
parent 77f9faa0de
commit cc1fb07f90
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View file

@ -49,7 +49,7 @@ public class App {
}
if (teacher.getShortName() != nextTeacher.getShortName()) {
// bonus Point for teacher switch
teacher.addPoints(0, 0, 5);
}
}
@ -170,7 +170,6 @@ public class App {
String teacherShortName = timeTable.getLesson(breakIndex, dayIndex);
if (teacherShortName == null || teacherShortName.isEmpty()) {
System.out.println("No teacher assigned during this break.");
return null;
}
if (!Teacher.nameMap.containsKey(teacherShortName) && teacherShortName != "Lunch") {