- Updated isType("Aura") to isAura().

This commit is contained in:
jendave
2011-08-07 01:30:30 +00:00
parent c9b803ef4c
commit fec8de0f03

View File

@@ -143,7 +143,7 @@ public class CardFactory implements NewConstants {
card2 = CardFactory_Creatures.getCard(in, in.getName(), in.getOwner(), this); card2 = CardFactory_Creatures.getCard(in, in.getName(), in.getOwner(), this);
return card2; return card2;
} else if(in.isType("Aura")) { } else if(in.isAura()) {
Card card2 = new Card(); Card card2 = new Card();
card2 = CardFactory_Auras.getCard(in, in.getName(), in.getOwner()); card2 = CardFactory_Auras.getCard(in, in.getName(), in.getOwner());
@@ -820,7 +820,7 @@ public class CardFactory implements NewConstants {
Card card2 = null; Card card2 = null;
if(card.isType("Creature")) { if(card.isType("Creature")) {
card2 = CardFactory_Creatures.getCard(card, cardName, owner, this); card2 = CardFactory_Creatures.getCard(card, cardName, owner, this);
} else if(card.isType("Aura")) { } else if(card.isAura()) {
card2 = CardFactory_Auras.getCard(card, cardName, owner); card2 = CardFactory_Auras.getCard(card, cardName, owner);
} else if(card.isType("Equipment")) { } else if(card.isType("Equipment")) {
card2 = CardFactory_Equipment.getCard(card, cardName, owner); card2 = CardFactory_Equipment.getCard(card, cardName, owner);