Performance tweak for previous.

This commit is contained in:
ryanhamshire 2015-01-11 14:49:43 -08:00
parent 338d310fe7
commit 488f6e70e3

View File

@ -905,7 +905,7 @@ class EntityEventHandler implements Listener
}
}
private HashSet<PotionEffectType> positiveEffects = new HashSet<PotionEffectType>(Arrays.asList
private static final HashSet<PotionEffectType> positiveEffects = new HashSet<PotionEffectType>(Arrays.asList
(
PotionEffectType.ABSORPTION,
PotionEffectType.DAMAGE_RESISTANCE,