Fix item dropping

This commit is contained in:
Owen1212055 2024-12-15 20:33:21 -05:00
parent 3a82d04b7e
commit 2e14d98ebe
No known key found for this signature in database
GPG key ID: 2133292072886A30

View file

@ -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);