diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java index ccc8d2e..e4d392f 100644 --- a/src/ch/zhaw/catan/SiedlerGame.java +++ b/src/ch/zhaw/catan/SiedlerGame.java @@ -152,9 +152,11 @@ public class SiedlerGame { return false; } board.setCorner(position, new Settlement(allPlayers.get(activePlayer).getFaction())); - List lands = board.getLandsForCorner(position); - for (Config.Land land:lands){ - allPlayers.get(activePlayer).addResource(land.getResource(), 1); + if(payout){ + List lands = board.getLandsForCorner(position); + for (Config.Land land:lands){ + allPlayers.get(activePlayer).addResource(land.getResource(), 1); + } } return true; }