Removed extra addEntity call in SpawnerCreature.

This commit is contained in:
EvilSeph 2011-09-17 02:26:40 -04:00
parent 392e2a4272
commit e83a197567

View File

@ -283,7 +283,6 @@ public final class SpawnerCreature {
entityliving.setPositionRotation((double) f, (double) f1, (double) f2, random.nextFloat() * 360.0F, 0.0F); entityliving.setPositionRotation((double) f, (double) f1, (double) f2, random.nextFloat() * 360.0F, 0.0F);
// CraftBukkit - added a reason for spawning this creature // CraftBukkit - added a reason for spawning this creature
world.addEntity(entityliving, SpawnReason.NATURAL); world.addEntity(entityliving, SpawnReason.NATURAL);
world.addEntity(entityliving);
a(entityliving, world, f, f1, f2); a(entityliving, world, f, f1, f2);
flag = true; flag = true;
} }