diff --git a/Mage/src/main/java/mage/game/command/planes/AgyremPlane.java b/Mage/src/main/java/mage/game/command/planes/AgyremPlane.java index 6582338512..c18e5d979f 100644 --- a/Mage/src/main/java/mage/game/command/planes/AgyremPlane.java +++ b/Mage/src/main/java/mage/game/command/planes/AgyremPlane.java @@ -179,19 +179,14 @@ class AgyremRestrictionEffect extends RestrictionEffect { @Override public boolean canAttack(Permanent attacker, UUID defenderId, Ability source, Game game) { Plane cPlane = game.getState().getCurrentPlane(); - if (cPlane == null) { - return true; + if (cPlane != null && cPlane.getName().equalsIgnoreCase("Plane - Agyrem")) { + return !defenderId.equals(source.getControllerId()); } - if (cPlane != null) { - if (cPlane.getName().equalsIgnoreCase("Plane - Agyrem")) { - return false; - } - } - return !defenderId.equals(source.getControllerId()); + return true; } @Override public AgyremRestrictionEffect copy() { return new AgyremRestrictionEffect(this); } -} +} \ No newline at end of file