2021-07-11 09:32:27 +10:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntitySkeleton.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntitySkeleton.java
|
2022-12-08 03:00:00 +11:00
|
|
|
@@ -90,7 +90,7 @@
|
2021-07-11 09:32:27 +10:00
|
|
|
}
|
|
|
|
|
2021-11-22 09:00:00 +11:00
|
|
|
protected void doFreezeConversion() {
|
|
|
|
- this.convertTo(EntityTypes.STRAY, true);
|
|
|
|
+ this.convertTo(EntityTypes.STRAY, true, org.bukkit.event.entity.EntityTransformEvent.TransformReason.FROZEN, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.FROZEN); // CraftBukkit - add spawn and transform reasons
|
2021-07-11 09:32:27 +10:00
|
|
|
if (!this.isSilent()) {
|
2021-11-22 09:00:00 +11:00
|
|
|
this.level.levelEvent((EntityHuman) null, 1048, this.blockPosition(), 0);
|
2021-07-11 09:32:27 +10:00
|
|
|
}
|