mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Fix item dropping
This commit is contained in:
parent
3a82d04b7e
commit
2e14d98ebe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue