mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-05 14:01:02 +02:00
11 lines
606 B
Diff
11 lines
606 B
Diff
--- a/net/minecraft/world/entity/monster/EntitySkeleton.java
|
|
+++ b/net/minecraft/world/entity/monster/EntitySkeleton.java
|
|
@@ -91,7 +91,7 @@
|
|
}
|
|
|
|
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
|
|
if (!this.isSilent()) {
|
|
this.level().levelEvent((EntityHuman) null, 1048, this.blockPosition(), 0);
|
|
}
|