diff --git a/Mage/src/main/java/mage/game/permanent/Permanent.java b/Mage/src/main/java/mage/game/permanent/Permanent.java index fe6f726433..e97a659107 100644 --- a/Mage/src/main/java/mage/game/permanent/Permanent.java +++ b/Mage/src/main/java/mage/game/permanent/Permanent.java @@ -161,9 +161,6 @@ public interface Permanent extends Card, Controllable { String getValue(GameState state); - @Deprecated - void addAbility(Ability ability); - @Deprecated void addAbility(Ability ability, Game game); diff --git a/Mage/src/main/java/mage/game/permanent/PermanentImpl.java b/Mage/src/main/java/mage/game/permanent/PermanentImpl.java index 1723622a75..36e9cd4b98 100644 --- a/Mage/src/main/java/mage/game/permanent/PermanentImpl.java +++ b/Mage/src/main/java/mage/game/permanent/PermanentImpl.java @@ -265,12 +265,6 @@ public abstract class PermanentImpl extends CardImpl implements Permanent { return abilities; } - @Override - @Deprecated - public void addAbility(Ability ability) { - throw new UnsupportedOperationException("Unsupported operation: use addAbility(Ability ability, Game game) instead"); - } - /** * * @param ability