You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Issue] AdvancedEntityDeathEvent setDropsCustomDrops(false) appears to force the entity to drop the normal vanilla loot, breaking plugins that also modify an entities loot.
#341
Open
M-Joyce opened this issue
Mar 3, 2022
· 0 comments
Describe the bug
When setDropsCustomDrops(false) in AdvancedEntityDeathEvent, it appears that AS forces that entity to drop the vanilla loot in some way, instead of handing control back over to other plugins.
To Reproduce
In AdvancedEntityDeathEvent e, use setDropsCustomDrops(false), and then in EntityDeathEvent e do e.getDrops().addAll(SomeItemStacks).
You will see that the mob will drop the vanilla items instead of "SomeItemStacks", despite .getDrops().addAll() being called AFTER setDropsCustomDrops(false)
Screenshots / Video
If applicable, add screenshots to help explain your problem.
Server Information (please complete the following information):
Paper 1.18
Plugin Version AS 3.6.19 (latest)
The text was updated successfully, but these errors were encountered:
Describe the bug
When setDropsCustomDrops(false) in AdvancedEntityDeathEvent, it appears that AS forces that entity to drop the vanilla loot in some way, instead of handing control back over to other plugins.
To Reproduce
In AdvancedEntityDeathEvent e, use setDropsCustomDrops(false), and then in EntityDeathEvent e do e.getDrops().addAll(SomeItemStacks).
You will see that the mob will drop the vanilla items instead of "SomeItemStacks", despite .getDrops().addAll() being called AFTER setDropsCustomDrops(false)
Screenshots / Video
If applicable, add screenshots to help explain your problem.
Server Information (please complete the following information):
The text was updated successfully, but these errors were encountered: