itemDrop event firing twice for each item drop #3491
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
I am working on a project extending MineDojo/Voyager. Tried using the
itemDrop
event to keep track of what items the bot collected after a mob kill. The events are double counting the drops. For instance if a chicken dies and drops 1 chicken, theitemDrop
event will fire twice. It double counts each itemdrop entity.Your current code
Expected behavior
itemDrop
should fire once for each itemstack entity dropped upon an entity's deathThe text was updated successfully, but these errors were encountered: