final refactor 2 (problems noticed by intellij)

This commit is contained in:
2026-06-19 15:46:40 +02:00
parent 36814e3166
commit 79ebe6b93e
17 changed files with 28 additions and 40 deletions
@@ -160,7 +160,6 @@ public class Game implements Serializable {
if(currentState.getCurrentPlayer().equals(player)) {
if (currentState.getGameStage() != GameStages.TOTEM_CHOICE) {
nextPlayerSetup();
return true;
}
else {
if (totemChoiceQueue.isEmpty()) {
@@ -169,8 +168,8 @@ public class Game implements Serializable {
totemChoiceQueue.add(player);
}
currentState.playerUpdate(totemChoiceQueue.poll(), null);
return true;
}
return true;
}
return true;