2021-07-11 01:32:27 +02:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntitySkeleton.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntitySkeleton.java
|
2022-12-07 17:00:00 +01:00
|
|
|
@@ -90,7 +90,7 @@
|
2021-07-11 01:32:27 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01: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 01:32:27 +02:00
|
|
|
if (!this.isSilent()) {
|
2021-11-21 23:00:00 +01:00
|
|
|
this.level.levelEvent((EntityHuman) null, 1048, this.blockPosition(), 0);
|
2021-07-11 01:32:27 +02:00
|
|
|
}
|