Performance tweak for previous.
This commit is contained in:
1 parent
338d310fe7
commit
488f6e70e3
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user