From 174320c278dfc11db7ded2533447f57d4ef3395d Mon Sep 17 00:00:00 2001 From: Brettflan Date: Tue, 6 Nov 2012 11:04:08 -0600 Subject: [PATCH] updated known badPotionEffects to include wither potion --- .../factions/listeners/FactionsEntityListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/listeners/FactionsEntityListener.java b/src/com/massivecraft/factions/listeners/FactionsEntityListener.java index 3c83087d..d052b60d 100644 --- a/src/com/massivecraft/factions/listeners/FactionsEntityListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsEntityListener.java @@ -162,7 +162,8 @@ public class FactionsEntityListener implements Listener private static final Set badPotionEffects = new LinkedHashSet(Arrays.asList( PotionEffectType.BLINDNESS, PotionEffectType.CONFUSION, PotionEffectType.HARM, PotionEffectType.HUNGER, - PotionEffectType.POISON, PotionEffectType.SLOW, PotionEffectType.SLOW_DIGGING, PotionEffectType.WEAKNESS + PotionEffectType.POISON, PotionEffectType.SLOW, PotionEffectType.SLOW_DIGGING, PotionEffectType.WEAKNESS, + PotionEffectType.WITHER )); @EventHandler(priority = EventPriority.NORMAL)