mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 09:35:26 +02:00
cleanup
This commit is contained in:
@@ -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
|
||||||
|
@@ -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(
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user