mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
9d740b84b0
By: md_5 <git@md-5.net>
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
|
|
@@ -90,7 +90,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);
|
|
}
|