mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38: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();
|
||||
}
|
||||
|
||||
public Zone getLKICopy() {
|
||||
public Zone getLKICopy(Map<Integer, Card> cachedMap) {
|
||||
Zone result = new Zone(zoneType, game);
|
||||
|
||||
final CardCollection list = new CardCollection();
|
||||
for (final Card c : getCards()) {
|
||||
list.add(CardUtil.getLKICopy(c));
|
||||
}
|
||||
result.setCards(list);
|
||||
result.setCards(CardUtil.getLKICopyList(getCards(), cachedMap));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user