Missing part of net/minecraft/world/level/dimension/end/

This commit is contained in:
Owen1212055
2024-12-14 15:32:18 -05:00
parent 12e0268dab
commit a9d7ae7213
2 changed files with 11 additions and 57 deletions

View File

@@ -0,0 +1,11 @@
--- a/net/minecraft/world/level/dimension/end/DragonRespawnAnimation.java
+++ b/net/minecraft/world/level/dimension/end/DragonRespawnAnimation.java
@@ -90,7 +_,7 @@
for (EndCrystal endCrystal : crystals) {
endCrystal.setBeamTarget(null);
level.explode(endCrystal, endCrystal.getX(), endCrystal.getY(), endCrystal.getZ(), 6.0F, Level.ExplosionInteraction.NONE);
- endCrystal.discard();
+ endCrystal.discard(org.bukkit.event.entity.EntityRemoveEvent.Cause.EXPLODE); // CraftBukkit - add Bukkit remove cause
}
} else if (ticks >= 80) {
level.levelEvent(3001, new BlockPos(0, 128, 0), 0);