From 2e14d98ebec0a634074d23a72218c27df5774c40 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Sun, 15 Dec 2024 20:33:21 -0500 Subject: [PATCH] Fix item dropping --- .../sources/net/minecraft/server/level/ServerPlayer.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/patches/sources/net/minecraft/server/level/ServerPlayer.java.patch b/paper-server/patches/sources/net/minecraft/server/level/ServerPlayer.java.patch index f74c99f4ac..8d5685a16c 100644 --- a/paper-server/patches/sources/net/minecraft/server/level/ServerPlayer.java.patch +++ b/paper-server/patches/sources/net/minecraft/server/level/ServerPlayer.java.patch @@ -1447,7 +1447,7 @@ double d = this.getEyeY() - 0.3F; + // Paper start + ItemStack tmp = droppedItem.copy(); -+ tmp.setCount(0); ++ droppedItem.setCount(0); + droppedItem = tmp; + // Paper end ItemEntity itemEntity = new ItemEntity(this.level(), this.getX(), d, this.getZ(), droppedItem);