* Some refactoring.

This commit is contained in:
LevelX2 2018-01-13 14:45:50 +01:00
parent c41b59a006
commit 6693929557
55 changed files with 439 additions and 529 deletions

View file

@ -976,10 +976,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
return true;
}
}
if (game.getContinuousEffects().preventedByRuleModification(GameEvent.getEvent(EventType.STAY_ATTACHED, objectId, source.getId(), null), null, game, false)) {
return true;
}
return false;
return game.getContinuousEffects().preventedByRuleModification(GameEvent.getEvent(EventType.STAY_ATTACHED, objectId, source.getId(), null), null, game, false);
}
protected boolean canDamage(MageObject source, Game game) {