From e17d3ece003c8836ca8207f5a13413bf0d6ba4b3 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Sat, 14 Apr 2012 01:38:22 -0500 Subject: [PATCH] Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790 --- src/main/java/net/minecraft/server/EntitySlime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntitySlime.java b/src/main/java/net/minecraft/server/EntitySlime.java index 23e16d4f87..a6e75441d3 100644 --- a/src/main/java/net/minecraft/server/EntitySlime.java +++ b/src/main/java/net/minecraft/server/EntitySlime.java @@ -157,7 +157,7 @@ public class EntitySlime extends EntityLiving implements IMonster { entityslime.setSize(i / 2); entityslime.setPositionRotation(this.locX + (double) f, this.locY + 0.5D, this.locZ + (double) f1, this.random.nextFloat() * 360.0F, 0.0F); - this.world.addEntity(entityslime); + this.world.addEntity(entityslime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SLIME_SPLIT); // CraftBukkit - SpawnReason } }