1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-06 22:56:41 +02:00

Adding missing entities to Protect Spawn Blacklist

This commit is contained in:
KHobbits
2012-03-23 10:16:38 +00:00
parent 49cb482ca5
commit c46f14665c
2 changed files with 17 additions and 16 deletions

View File

@@ -462,30 +462,31 @@ protect:
entitytarget: false entitytarget: false
# Prevent the spawning of creatures # Prevent the spawning of creatures
spawn: spawn:
chicken: false
cow: false
creeper: false creeper: false
ghast: false
giant: false
monster: false
pig: false
pig_zombie: false
sheep: false
skeleton: false skeleton: false
slime: false
spider: false spider: false
squid: false giant: false
zombie: false zombie: false
wolf: false slime: false
cave_spider: false ghast: false
pig_zombie: false
enderman: false enderman: false
cave_spider: false
silverfish: false silverfish: false
ender_dragon: false
villager: false
blaze: false blaze: false
mushroom_cow: false
magma_cube: false magma_cube: false
ender_dragon: false
pig: false
sheep: false
cow: false
chicken: false
squid: false
wolf: false
mushroom_cow: false
snowman: false snowman: false
ocelot: false
iron_golem: false
villager: false
# Maximum height the creeper should explode. -1 allows them to explode everywhere. # Maximum height the creeper should explode. -1 allows them to explode everywhere.
# Set prevent.creeper-explosion to true, if you want to disable creeper explosions. # Set prevent.creeper-explosion to true, if you want to disable creeper explosions.

View File

@@ -274,7 +274,7 @@ public class EssentialsProtectEntityListener implements Listener
{ {
return; return;
} }
final CreatureType creature = event.getCreatureType(); final EntityType creature = event.getEntityType();
if (creature == null) if (creature == null)
{ {
return; return;