diff --git a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerGameLogic.java b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerGameLogic.java index bf6096f..60b41a8 100644 --- a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerGameLogic.java +++ b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerGameLogic.java @@ -484,9 +484,9 @@ public class ServerGameLogic implements ClientInterpreter { // buildHouses(p1, Set.of(1, 3)); // Player 2 builds houses on the Red set - buildHouses(p2, Set.of(21, 23, 24)); - buildHouses(p2, Set.of(23, 24)); - buildHouses(p2, Set.of( 24)); + // buildHouses(p2, Set.of(21, 23, 24)); + // buildHouses(p2, Set.of(23, 24)); + // // buildHouses(p2, Set.of( 24)); // Set player balances p1.setAccountBalance(12325); @@ -518,6 +518,8 @@ public class ServerGameLogic implements ClientInterpreter { field.setOwner(player); player.addProperty(propertyId); } + + updateAllPlayers(); LOGGER.log(Level.DEBUG, "Properties assigned to player {0}: {1}", player.getName(), properties); }