Build fix

This commit is contained in:
Oleg Agafonov 2019-01-08 07:20:21 +04:00
parent 063be44523
commit 9c401e33a4

View file

@ -75,10 +75,13 @@ class GuardianProjectTriggeredAbility extends EntersBattlefieldAllTriggeredAbili
if (!filter.match(permanent, sourceId, controllerId, game)) { if (!filter.match(permanent, sourceId, controllerId, game)) {
return false; return false;
} }
if (checkCondition(permanent, controllerId, game)) { if (checkCondition(permanent, controllerId, game)) {
this.getEffects().clear(); this.getEffects().clear();
this.addEffect(new GuardianProjectEffect(new MageObjectReference(permanent, game))); this.addEffect(new GuardianProjectEffect(new MageObjectReference(permanent, game)));
return true;
} }
return false;
} }
@Override @Override