mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
Removed extra addEntity call in SpawnerCreature.
This commit is contained in:
parent
392e2a4272
commit
e83a197567
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user