summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2011-09-17 02:26:40 -0400
committerEvilSeph <evilseph@gmail.com>2011-09-17 02:26:40 -0400
commite83a1975677b1e25e30036e72501980bb646acc2 (patch)
tree81bf1a6ccd7c20734d4fe9066390a045fb666fa6 /src/main/java/net/minecraft/server
parent392e2a4272b033ba0ffd8121adab3698267bddec (diff)
downloadcraftbukkit-e83a1975677b1e25e30036e72501980bb646acc2.tar
craftbukkit-e83a1975677b1e25e30036e72501980bb646acc2.tar.gz
craftbukkit-e83a1975677b1e25e30036e72501980bb646acc2.tar.lz
craftbukkit-e83a1975677b1e25e30036e72501980bb646acc2.tar.xz
craftbukkit-e83a1975677b1e25e30036e72501980bb646acc2.zip
Removed extra addEntity call in SpawnerCreature.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/SpawnerCreature.java1
1 files changed, 0 insertions, 1 deletions
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;
}