diff --git a/Mage/src/main/java/mage/abilities/keyword/ProtectionAbility.java b/Mage/src/main/java/mage/abilities/keyword/ProtectionAbility.java index 42bffda3b83..c05123f72cb 100644 --- a/Mage/src/main/java/mage/abilities/keyword/ProtectionAbility.java +++ b/Mage/src/main/java/mage/abilities/keyword/ProtectionAbility.java @@ -29,7 +29,6 @@ public class ProtectionAbility extends StaticAbility { protected boolean removeAuras; protected boolean removeEquipment; protected boolean doesntRemoveControlled; - protected static List colors = new ArrayList<>(); protected UUID auraIdNotToBeRemoved; // defines an Aura objectId that will not be removed from this protection ability public ProtectionAbility(Filter filter) { @@ -53,15 +52,12 @@ public class ProtectionAbility extends StaticAbility { public static ProtectionAbility from(ObjectColor color) { FilterObject filter = new FilterObject(getFilterText(color)); filter.add(new ColorPredicate(color)); - colors.add(color); return new ProtectionAbility(filter); } public static ProtectionAbility from(ObjectColor color1, ObjectColor color2) { FilterObject filter = new FilterObject(color1.getDescription() + " and from " + color2.getDescription()); filter.add(Predicates.or(new ColorPredicate(color1), new ColorPredicate(color2))); - colors.add(color1); - colors.add(color2); return new ProtectionAbility(filter); } @@ -171,10 +167,6 @@ public class ProtectionAbility extends StaticAbility { return doesntRemoveControlled; } - public List getColors() { - return colors; - } - public UUID getAuraIdNotToBeRemoved() { return auraIdNotToBeRemoved; }