oops! :: fix wither spawn explosion blocking

This commit is contained in:
Iaccidentally 2012-10-28 12:58:01 -04:00
parent 91c193b773
commit e0d189a5e0
3 changed files with 3 additions and 3 deletions

View File

@ -462,7 +462,7 @@ protect:
fireball-playerdamage: false
witherskull-explosion: flase
witherskull-playerdamage: false
witherskull-spawnexplosion: flase
wither-spawnexplosion: flase
creeper-explosion: false
creeper-playerdamage: false
creeper-blockdamage: false

View File

@ -224,7 +224,7 @@ public class EssentialsProtectEntityListener implements Listener
}
return;
}
if (event.getEntity() instanceof WitherSkull
if (event.getEntity() instanceof Wither
&& prot.getSettingBool(ProtectConfig.prevent_witherskull_spawnexplosion))
{
event.setCancelled(true);

View File

@ -37,7 +37,7 @@ public enum ProtectConfig
prevent_fireball_playerdmg("protect.prevent.fireball-playerdamage", false),
prevent_witherskull_explosion("protect.prevent.witherskull-explosion", false),
prevent_witherskull_playerdmg("protect.prevent.witherskull-playerdamage", false),
prevent_witherskull_spawnexplosion("protect.prevent.witherskull-spawnexplosion", false),
prevent_wither_spawnexplosion("protect.prevent.wither-spawnexplosion", false),
prevent_creeper_explosion("protect.prevent.creeper-explosion", true),
prevent_creeper_playerdmg("protect.prevent.creeper-playerdamage", false),
prevent_creeper_blockdmg("protect.prevent.creeper-blockdamage", false),