* Gemstone Mine - Fixed that it did not produce mana anymore.

This commit is contained in:
LevelX2 2014-09-10 00:18:49 +02:00
parent f137f9c49c
commit d2b252b517
2 changed files with 6 additions and 12 deletions

View file

@ -70,11 +70,11 @@ public class ConditionalOneShotEffect extends OneShotEffect {
if (condition.apply(game, source)) {
effect.setTargetPointer(this.targetPointer);
return effect.apply(game, source);
} else if (otherwiseEffect != null) {
otherwiseEffect.setTargetPointer(this.targetPointer);
return otherwiseEffect.apply(game, source);
} else if (otherwiseEffect == null) {
return true; // nothing to do - no problem
}
return false;
otherwiseEffect.setTargetPointer(this.targetPointer);
return otherwiseEffect.apply(game, source);
}
@Override