You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: purpur-server/minecraft-patches/sources/net/minecraft/server/level/ServerLevel.java.patch
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -161,3 +161,12 @@
161
161
this.serverLevelData.setThundering(false, org.bukkit.event.weather.ThunderChangeEvent.Cause.SLEEP); // Paper - Add cause to Weather/ThunderChangeEvents
162
162
// CraftBukkit start
163
163
// If we stop due to everyone sleeping we should reset the weather duration to some other random value.
164
+
@@ -2676,7 +_,7 @@
165
+
// Spigot start
166
+
if (entity.getBukkitEntity() instanceof org.bukkit.inventory.InventoryHolder && (!(entity instanceof ServerPlayer) || entity.getRemovalReason() != Entity.RemovalReason.KILLED)) { // SPIGOT-6876: closeInventory clears death message
167
+
// Paper start - Fix merchant inventory not closing on entity removal
0 commit comments