diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java b/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java index 02f80714..5de87784 100644 --- a/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java +++ b/src/main/java/org/luxons/sevenwonders/game/effects/SpecialAbility.java @@ -32,7 +32,7 @@ public enum SpecialAbility { if (copiedGuild == null) { throw new IllegalStateException("The copied Guild has not been chosen, cannot compute points"); } - return copiedGuild.getEffects().stream().mapToInt(e -> computePoints(table, playerIndex)).sum(); + return copiedGuild.getEffects().stream().mapToInt(e -> e.computePoints(table, playerIndex)).sum(); } }; |