Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
12 Zeilen
667 B
Diff
12 Zeilen
667 B
Diff
|
--- a/net/minecraft/server/BlockTurtleEgg.java
|
||
|
+++ b/net/minecraft/server/BlockTurtleEgg.java
|
||
|
@@ -72,7 +72,7 @@
|
||
|
entityturtle.setAgeRaw(-24000);
|
||
|
entityturtle.g(blockposition);
|
||
|
entityturtle.setPositionRotation((double) blockposition.getX() + 0.3D + (double) j * 0.2D, (double) blockposition.getY(), (double) blockposition.getZ() + 0.3D, 0.0F, 0.0F);
|
||
|
- world.addEntity(entityturtle);
|
||
|
+ world.addEntity(entityturtle, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.EGG); // CraftBukkit
|
||
|
}
|
||
|
}
|
||
|
}
|