mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix CardCloneStates
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user