Fix CardCloneStates

This commit is contained in:
Hans Mackowiak
2019-01-29 10:21:56 +00:00
committed by Hanmac
parent be298bf544
commit 31be2a409e

View File

@@ -51,7 +51,7 @@ public class CardCloneStates extends ForwardingMap<CardStateName, CardState> {
public CardCloneStates copy(final Card host, final boolean lki) { public CardCloneStates copy(final Card host, final boolean lki) {
CardCloneStates result = new CardCloneStates(origin, ctb); CardCloneStates result = new CardCloneStates(origin, ctb);
for (Map.Entry<CardStateName, CardState> e : dataMap) { for (Map.Entry<CardStateName, CardState> e : dataMap.entrySet()) {
result.put(e.getKey(), e.getValue().copy(host, e.getKey(), lki)); result.put(e.getKey(), e.getValue().copy(host, e.getKey(), lki));
} }
return result; return result;