Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
Added a reason for randomly spawning Ocelot babies. Addresses BUKKIT-1391
Dieser Commit ist enthalten in:
Ursprung
c8d4a7c835
Commit
7c137d8b19
@ -213,7 +213,7 @@ public final class SpawnerCreature {
|
|||||||
|
|
||||||
entityocelot.setPositionRotation((double) f, (double) f1, (double) f2, entityliving.yaw, 0.0F);
|
entityocelot.setPositionRotation((double) f, (double) f1, (double) f2, entityliving.yaw, 0.0F);
|
||||||
entityocelot.setAge(-24000);
|
entityocelot.setAge(-24000);
|
||||||
world.addEntity(entityocelot);
|
world.addEntity(entityocelot, SpawnReason.NATURAL); // CraftBukkit - SpawnReason
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren