fix proliferate not working on creatures

This commit is contained in:
Maxmtg
2013-12-25 05:49:00 +00:00
parent 77510ac6e3
commit e31d2ae0d1

View File

@@ -30,7 +30,7 @@ public class CountersProliferateEffect extends SpellAbilityEffect {
for(Entry<GameEntity, CounterType> ge: proliferateChoice.entrySet()) {
if( ge.getKey() instanceof Player )
((Player) ge.getKey()).addPoisonCounters(1, sa.getSourceCard());
else if( ge instanceof Card)
else if( ge.getKey() instanceof Card)
((Card) ge.getKey()).addCounter(ge.getValue(), 1, true);
}
}