From 1707582e8039ba60e876be0fb9a31b06027df73c Mon Sep 17 00:00:00 2001 From: Brettflan Date: Mon, 29 Oct 2012 19:24:31 -0500 Subject: [PATCH] Wither skull explosions are now blocked by fireball explosion protection (territoryBlockFireballs etc.) only needed in 1.6.x branch since 1.7 branch handles all explosions the same --- .../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 c0c9b6c9..514f405d 100644 --- a/src/com/massivecraft/factions/listeners/FactionsEntityListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsEntityListener.java @@ -18,6 +18,7 @@ import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.entity.Projectile; import org.bukkit.entity.TNTPrimed; +import org.bukkit.entity.WitherSkull; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; @@ -163,7 +164,7 @@ public class FactionsEntityListener implements Listener } else if ( - boomer instanceof Fireball + (boomer instanceof Fireball || boomer instanceof WitherSkull) && ( (faction.isNone() && Conf.wildernessBlockFireballs && !Conf.worldsNoWildernessProtection.contains(loc.getWorld().getName()))