Open Nerahikada opened 1 year ago
Have you tested this or is it hypothetical? I don't see how this would happen unless the item actually did break.
Looks like this commit may be responsible: https://github.com/pmmp/PocketMine-MP/commit/95263795a8174d443d6b42d9f338cb24df3686fb
Issue description
When a survival or adventure mode player places a durable item in an Item Frame, an ItemBreakSound is played.
When a Item Frame is interacted, the number of items is decremented, and when it reaches zero, the item is considered broken and the sound is played. https://github.com/pmmp/PocketMine-MP/blob/19e3d339f6c119fb30b49e2a502b69882fee310f/src/block/ItemFrame.php#L140 https://github.com/pmmp/PocketMine-MP/blob/19e3d339f6c119fb30b49e2a502b69882fee310f/src/player/Player.php#L1559-L1561
Steps to reproduce the issue
OS and versions