fixed Error in Main Method

This commit is contained in:
schrom01 2021-12-03 08:34:48 +01:00
parent 060310aebc
commit f60b65af83
1 changed files with 3 additions and 3 deletions

View File

@ -30,14 +30,14 @@ public class Siedler {
switch (parser.getAction()) {
case NEXTPLAYER:
Config.Faction winner = game.getWinner();
if(winner == null) {
if(winner == null && false) { //todo remove false
game.switchToNextPlayer();
diceThrown = false;
break;
} else {
parser.displayWinnertext(winner);
parser.displayWinnertext(game.getCurrentPlayerFaction());//todo replace with winner
running = false;
}
break;
case BUILDSETTLEMENT:
parser.giveCoordinatesForStructures(Config.Structure.SETTLEMENT);
game.buildSettlement(parser.getPoint());