mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
Added a reason for randomly spawning Ocelot babies. Addresses BUKKIT-1391
This commit is contained in:
@@ -213,7 +213,7 @@ public final class SpawnerCreature {
|
||||
|
||||
entityocelot.setPositionRotation((double) f, (double) f1, (double) f2, entityliving.yaw, 0.0F);
|
||||
entityocelot.setAge(-24000);
|
||||
world.addEntity(entityocelot);
|
||||
world.addEntity(entityocelot, SpawnReason.NATURAL); // CraftBukkit - SpawnReason
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user