aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0881-Correctly-handle-interactions-with-items-on-cooldown.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-06-16 10:27:59 -0700
committerSpottedleaf <[email protected]>2023-06-16 10:27:59 -0700
commita226f44b452c8c75ca077b492ba4a957629ba489 (patch)
tree07acd3786c48804e83b1b5ea4f78910d1368409f /patches/server/0881-Correctly-handle-interactions-with-items-on-cooldown.patch
parentf5551380b3279bf51752e8617e384a594ac1a2f5 (diff)
downloadPaper-a226f44b452c8c75ca077b492ba4a957629ba489.tar.gz
Paper-a226f44b452c8c75ca077b492ba4a957629ba489.zip
Copy itemstack when sanitizing for datawatcher items
Since the packet is broadcasted for players, it means that the packet will be sent to multiple players. In this case, modifying the data results in a possible race condition where a CME may occur as the packet will be serialized on many different netty IO threads.
Diffstat (limited to 'patches/server/0881-Correctly-handle-interactions-with-items-on-cooldown.patch')
0 files changed, 0 insertions, 0 deletions