1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 17:45:08 +02:00
This commit is contained in:
Iaccidentally
2012-10-28 13:50:30 -04:00
parent df275fc237
commit 9038036abf
3 changed files with 5 additions and 5 deletions

View File

@@ -449,7 +449,7 @@ protect:
fireball-playerdamage: false fireball-playerdamage: false
witherskull-explosion: flase witherskull-explosion: flase
witherskull-playerdamage: false witherskull-playerdamage: false
wither-spawnexplosion: flase wither-spawn-explosion: flase
wither-blockreplace: false wither-blockreplace: false
creeper-explosion: false creeper-explosion: false
creeper-playerdamage: false creeper-playerdamage: false

View File

@@ -23,9 +23,9 @@ public class Prevent implements StorageObject
private boolean creeperExplosion = false; private boolean creeperExplosion = false;
private boolean creeperBlockdamage = false; private boolean creeperBlockdamage = false;
private boolean enderdragonBlockdamage = false; private boolean enderdragonBlockdamage = false;
private boolean WitherSpawnExplosion = false; private boolean witherSpawnExplosion = false;
private boolean WitherSkullExplosion = false; private boolean witherskullExplosion = false;
private boolean WitherBlockreplace = false; private boolean witherBlockreplace = false;
private boolean endermanPickup = false; private boolean endermanPickup = false;
private boolean villagerDeath = false; private boolean villagerDeath = false;
@Comment( @Comment(

View File

@@ -207,7 +207,7 @@ public class EssentialsProtectEntityListener implements Listener
return; return;
} }
else if ((event.getEntity() instanceof WitherSkull) else if ((event.getEntity() instanceof WitherSkull)
&& settings.getData().getPrevent().isWitherSkullExplosion()) && settings.getData().getPrevent().isWitherskullExplosion())
{ {
event.setCancelled(true); event.setCancelled(true);
return; return;