From 0026a08fa8b5979349d90a2e61821e64dbd088e3 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Sat, 14 Apr 2012 01:44:01 -0500 Subject: [PATCH] Use SpawnReason.DEFAULT instead of SpawnReason.CUSTOM, freeing CUSTOM to plugin spawning. This gets used in case we are missing appropriate SpawnReason's for various Entity spawns. --- src/main/java/net/minecraft/server/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index 74269285c8..86478ada74 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -861,7 +861,7 @@ public class World implements IBlockAccess { // CraftBukkit start - used for entities other than creatures public boolean addEntity(Entity entity) { - return this.addEntity(entity, SpawnReason.CUSTOM); // Set reason as Custom by default + return this.addEntity(entity, SpawnReason.DEFAULT); // Set reason as DEFAULT } public boolean addEntity(Entity entity, SpawnReason spawnReason) { // Changed signature, added SpawnReason