mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
oops! :: fix wither spawn explosion blocking
This commit is contained in:
parent
91c193b773
commit
e0d189a5e0
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user