From 038bc65b3d1f78da910d525561368e96343e9c1e Mon Sep 17 00:00:00 2001 From: schrom01 Date: Tue, 7 Dec 2021 13:55:10 +0100 Subject: [PATCH] fixing Method throwDice in SiedlerGame.java --- src/ch/zhaw/catan/SiedlerGame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java index ec52e4b..24f534e 100644 --- a/src/ch/zhaw/catan/SiedlerGame.java +++ b/src/ch/zhaw/catan/SiedlerGame.java @@ -234,7 +234,7 @@ public class SiedlerGame { for (Config.Resource resource : resources){ //TODO: Check if Resource Null notwendig? returnMap.get(player.getFaction()).add(resource); - addResourcesToPlayer(allPlayers.get(activePlayer), resource, 1); + addResourcesToPlayer(player, resource, 1); } } }