- Fixed LKI copies forgetting their equipped/enchanted lists (Fixes Skullclamp).

This commit is contained in:
Sloth
2013-01-16 18:48:45 +00:00
parent b4c7428bda
commit e1bbce45e1

View File

@@ -624,9 +624,9 @@ public final class CardUtil {
newCopy.setReceivedDamageFromThisTurn(in.getReceivedDamageFromThisTurn()); newCopy.setReceivedDamageFromThisTurn(in.getReceivedDamageFromThisTurn());
newCopy.getDamageHistory().setCreatureGotBlockedThisTurn(in.getDamageHistory().getCreatureGotBlockedThisTurn()); newCopy.getDamageHistory().setCreatureGotBlockedThisTurn(in.getDamageHistory().getCreatureGotBlockedThisTurn());
newCopy.setEnchanting(in.getEnchanting()); newCopy.setEnchanting(in.getEnchanting());
newCopy.setEnchantedBy(in.getEnchantedBy()); newCopy.setEnchantedBy(new ArrayList<Card> (in.getEnchantedBy()));
newCopy.setEquipping(in.getEquipping()); newCopy.setEquipping(new ArrayList<Card> (in.getEquipping()));
newCopy.setEquippedBy(in.getEquippedBy()); newCopy.setEquippedBy(new ArrayList<Card> (in.getEquippedBy()));
newCopy.setClones(in.getClones()); newCopy.setClones(in.getClones());
newCopy.setHaunting(in.getHaunting()); newCopy.setHaunting(in.getHaunting());
for (final Card haunter : in.getHauntedBy()) { for (final Card haunter : in.getHauntedBy()) {