Drops in new event
Hey there, I have used your plugin's API quite a lot. Since the new version (v2), most of it got lost. I've quickly read the source and there is no way to actually detect which items have been dropped by which stacked mob using your plugin.
Solutions:
-
Instead of dropping these items directly (using the World#dropItem), add them back the EntityDeathEvent#getDrops list as they are normally dropped after the event is been called and every other plugin can actually modify these items (This would be better since there would be no need to every plugin to add specific support).
-
Add a custom event, as it was in v1.
The reason why the drops don't get set back in the event is because it modifies the drops last time I checked? Although that could have been an issue with something else.
What are you trying to do anyway? StackMob just multiplies the drops in the bukkit getDrops method. @Parozzz