remove local variable

This commit is contained in:
Ingmar Goudt 2019-07-11 15:59:51 +02:00
parent 61ece61c15
commit 91a01a78bc

View file

@ -88,7 +88,6 @@ class YarokTheDesecratedEffect extends ReplacementEffectImpl {
|| !(sourceEvent instanceof EntersTheBattlefieldEvent)) {
return false;
}
EntersTheBattlefieldEvent entersTheBattlefieldEvent = (EntersTheBattlefieldEvent) sourceEvent;
// Only for triggers of permanents
return game.getPermanent(numberOfTriggersEvent.getSourceId()) != null;
}