mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
~ update zone lki list
This commit is contained in:
@@ -300,14 +300,10 @@ public class Zone implements java.io.Serializable, Iterable<Card> {
|
|||||||
return zoneType.toString();
|
return zoneType.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Zone getLKICopy() {
|
public Zone getLKICopy(Map<Integer, Card> cachedMap) {
|
||||||
Zone result = new Zone(zoneType, game);
|
Zone result = new Zone(zoneType, game);
|
||||||
|
|
||||||
final CardCollection list = new CardCollection();
|
result.setCards(CardUtil.getLKICopyList(getCards(), cachedMap));
|
||||||
for (final Card c : getCards()) {
|
|
||||||
list.add(CardUtil.getLKICopy(c));
|
|
||||||
}
|
|
||||||
result.setCards(list);
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user