mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
Fix item dropping
This commit is contained in:
@@ -1447,7 +1447,7 @@
|
|||||||
double d = this.getEyeY() - 0.3F;
|
double d = this.getEyeY() - 0.3F;
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ ItemStack tmp = droppedItem.copy();
|
+ ItemStack tmp = droppedItem.copy();
|
||||||
+ tmp.setCount(0);
|
+ droppedItem.setCount(0);
|
||||||
+ droppedItem = tmp;
|
+ droppedItem = tmp;
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
ItemEntity itemEntity = new ItemEntity(this.level(), this.getX(), d, this.getZ(), droppedItem);
|
ItemEntity itemEntity = new ItemEntity(this.level(), this.getX(), d, this.getZ(), droppedItem);
|
||||||
|
Reference in New Issue
Block a user