- Quick fix for the double faced cards not castable problem.

This commit is contained in:
Sloth
2012-04-19 15:26:46 +00:00
parent 04b611a481
commit e153bcf2f7

View File

@@ -165,7 +165,9 @@ public abstract class AbstractCardFactory implements CardFactoryInterface {
if (in.hasAlternateState()) {
for (final CardCharactersticName state : in.getStates()) {
in.setState(state);
out.addAlternateState(state);
if (state == CardCharactersticName.Cloner) {
out.addAlternateState(state);
}
out.setState(state);
CardFactoryUtil.copyCharacteristics(in, out);
}