Switch to windoof
This commit is contained in:
parent
77f9faa0de
commit
cc1fb07f90
2 changed files with 1 additions and 2 deletions
BIN
bin/App.class
BIN
bin/App.class
Binary file not shown.
|
@ -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") {
|
||||
|
|
Loading…
Add table
Reference in a new issue