mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Fix item dropping
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user