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
+ boolean playerRemovedNotChangingDimension = !player.isAlive() && player.getRemovalReason() != Entity.RemovalReason.CHANGED_DIMENSION; // Paper - Make sure player is dead (https://github.com/PaperMC/Paper/pull/13002)
219
+
boolean serverPlayerHasDisconnected = player instanceof ServerPlayer serverPlayer && serverPlayer.hasDisconnected();
220
+
if (playerRemovedNotChangingDimension || serverPlayerHasDisconnected) {
221
+
player.drop(carried, false);
215
222
@@ -642,6 +_,14 @@
216
223
public abstract boolean stillValid(Player player);
0 commit comments