mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Quick fix for the double faced cards not castable problem.
This commit is contained in:
@@ -165,7 +165,9 @@ public abstract class AbstractCardFactory implements CardFactoryInterface {
|
|||||||
if (in.hasAlternateState()) {
|
if (in.hasAlternateState()) {
|
||||||
for (final CardCharactersticName state : in.getStates()) {
|
for (final CardCharactersticName state : in.getStates()) {
|
||||||
in.setState(state);
|
in.setState(state);
|
||||||
out.addAlternateState(state);
|
if (state == CardCharactersticName.Cloner) {
|
||||||
|
out.addAlternateState(state);
|
||||||
|
}
|
||||||
out.setState(state);
|
out.setState(state);
|
||||||
CardFactoryUtil.copyCharacteristics(in, out);
|
CardFactoryUtil.copyCharacteristics(in, out);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user