Sponge
Sponge copied to clipboard
DropItemEvent.Destruct is only called for blocks destroyed by explosions
Affected Product(s)
SpongeVanilla
Version
1.16.5-8.1.0-RC1220
Operating System
Linux
Java Version
18.0.1/64-bit
Plugins/Mods
-
Describe the bug
DropItemEvent.Destruct seems to only be called when blocks are destroyed by explosions. Based on the Javadoc, I assume it should also be called when player breaks blocks that drop items.
It is also not called for entities killed by the player or explosions.
Link to logs
No response