mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
12 lines
569 B
Diff
12 lines
569 B
Diff
|
--- a/net/minecraft/world/entity/monster/EntitySkeleton.java
|
||
|
+++ b/net/minecraft/world/entity/monster/EntitySkeleton.java
|
||
|
@@ -86,7 +86,7 @@
|
||
|
}
|
||
|
|
||
|
protected void fy() {
|
||
|
- this.a(EntityTypes.STRAY, true);
|
||
|
+ this.a(EntityTypes.STRAY, true, org.bukkit.event.entity.EntityTransformEvent.TransformReason.FROZEN, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.FROZEN); // CraftBukkit - add spawn and transform reasons
|
||
|
if (!this.isSilent()) {
|
||
|
this.level.a((EntityHuman) null, 1048, this.getChunkCoordinates(), 0);
|
||
|
}
|