Performance tweak for previous.
This commit is contained in:
parent
338d310fe7
commit
488f6e70e3
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user