diff --git a/src/engine/powers/EffectsBase.java b/src/engine/powers/EffectsBase.java index 18d9cf6e..299d3d20 100644 --- a/src/engine/powers/EffectsBase.java +++ b/src/engine/powers/EffectsBase.java @@ -47,7 +47,6 @@ public class EffectsBase { public static HashMap> modifiersMap = new HashMap<>(); public static HashMap> EffectDamageTypes = new HashMap<>(); - public static HashSet DefaultModifiers = new HashSet<>(); private static ConcurrentHashMap itemEffectsByName = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD, MBServerStatics.CHM_THREAD_LOW); private static int NewID = 3000; private int UUID; @@ -372,7 +371,7 @@ public class EffectsBase { public HashSet getModifiers() { if (EffectsBase.modifiersMap.containsKey(this.IDString) == false) - return EffectsBase.DefaultModifiers; + return new HashSet<>(); // was never used or assigned to? return EffectsBase.modifiersMap.get(this.IDString); }