Armor stands are now buildable in creative worlds.
This commit is contained in:
parent
8eb7ced9c0
commit
f66ebe5dce
|
|
@ -196,7 +196,7 @@ class EntityEventHandler implements Listener
|
|||
|
||||
//chicken eggs and breeding could potentially make a mess in the wilderness, once griefers get involved
|
||||
SpawnReason reason = event.getSpawnReason();
|
||||
if(reason != SpawnReason.SPAWNER_EGG && reason != SpawnReason.BUILD_IRONGOLEM && reason != SpawnReason.BUILD_SNOWMAN)
|
||||
if(reason != SpawnReason.SPAWNER_EGG && reason != SpawnReason.BUILD_IRONGOLEM && reason != SpawnReason.BUILD_SNOWMAN && event.getEntityType() != EntityType.ARMOR_STAND)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user