Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Remove itemstack mutation on player drop method

Open Owen1212055 opened this issue 10 months ago • 2 comments

This appears to cause alot of issues, as the general assumption when calling this method is that the itemstack would not be mutated.

Common issues that this seems to cause is item related actions that later increment a statistic, which is no longer true because the item type changes since its now considered empty. The dupe that this was meant to resolve was patched.

Fixes #11520 Fixes #11765 Supercedes https://github.com/PaperMC/Paper/pull/11521

Owen1212055 avatar Dec 26 '24 22:12 Owen1212055