Fix non* targeting restrictions (e.g. nonland)

This commit is contained in:
drdev
2014-10-13 04:10:05 +00:00
parent 84da2570d8
commit 5c6d9736b2
3 changed files with 6 additions and 6 deletions

View File

@@ -292,7 +292,6 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
}
public final boolean checkOtherRestrictions(final Card c, final SpellAbility sa, final Player activator) {
final Game game = activator.getGame();
if (this.getCardsInHand() != -1) {
@@ -398,7 +397,6 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
if (!Expressions.compare(svarValue, this.getsVarOperator(), operandValue)) {
return false;
}
}
if (this.getsVarToCheck() != null) {
@@ -408,7 +406,6 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
if (!Expressions.compare(svarValue, this.getsVarOperator(), operandValue)) {
return false;
}
}
return true;
}