From e83a1975677b1e25e30036e72501980bb646acc2 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Sat, 17 Sep 2011 02:26:40 -0400 Subject: Removed extra addEntity call in SpawnerCreature. --- src/main/java/net/minecraft/server/SpawnerCreature.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/main/java/net/minecraft/server/SpawnerCreature.java b/src/main/java/net/minecraft/server/SpawnerCreature.java index e74ca37c..7e728f87 100644 --- a/src/main/java/net/minecraft/server/SpawnerCreature.java +++ b/src/main/java/net/minecraft/server/SpawnerCreature.java @@ -283,7 +283,6 @@ public final class SpawnerCreature { entityliving.setPositionRotation((double) f, (double) f1, (double) f2, random.nextFloat() * 360.0F, 0.0F); // CraftBukkit - added a reason for spawning this creature world.addEntity(entityliving, SpawnReason.NATURAL); - world.addEntity(entityliving); a(entityliving, world, f, f1, f2); flag = true; } -- cgit v1.2.3