From 20dea920c225d6955867136ce1222a5ca0f91ce4 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Tue, 3 Apr 2012 18:00:07 -0500 Subject: [PATCH] Don't spawn conditional mobs if original entity is dead. Fixes BUKKIT-1444 --- src/main/java/net/minecraft/server/SpawnerCreature.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/SpawnerCreature.java b/src/main/java/net/minecraft/server/SpawnerCreature.java index 071fde9fdb..1090c0da42 100644 --- a/src/main/java/net/minecraft/server/SpawnerCreature.java +++ b/src/main/java/net/minecraft/server/SpawnerCreature.java @@ -201,6 +201,7 @@ public final class SpawnerCreature { } private static void a(EntityLiving entityliving, World world, float f, float f1, float f2) { + if (entityliving.dead) return; // CraftBukkit if (entityliving instanceof EntitySpider && world.random.nextInt(100) == 0) { EntitySkeleton entityskeleton = new EntitySkeleton(world);