Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

DropItemEvent.Destruct is only called for blocks destroyed by explosions

Open avaruus1 opened this issue 3 years ago • 0 comments

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

avaruus1 avatar Oct 22 '22 13:10 avaruus1