final refactor 2 (problems noticed by intellij)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user