GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
154 stars 63 forks source link

BOW_FIRE and ARROW_HIT trigger types don't function for me. #4357

Closed Singularitii closed 3 months ago

Singularitii commented 3 months ago

Describe the bug

Quite simply, effects using the BOW_FIRE and ARROW_HIT type do not work. When I put SHOOT or SHOOT_MOB, everything is fine, but as soon as I use ARROW_HIT or BOW_FIRE, nothing works. Here is an enchantment i made just to show this;

shulkershot: display: '%group-color%Shulkershot' description: Your bow fires an additional shulker bullet on hit. applies-to: Bows type: SHOOT;SHOOT_MOB group: ELITE applies:

In this form, the enchantment functions. But if you switch the type to BOW_FIRE or ARROW_HIT, literally nothing happens. The enchantment just flat out doesnt work. The logs don't seem to show anything either; there is a bug/error but I think that was from a typo I made in the config. Maybe this bug is my side, but I don't know what would make these triggers not function correctly.

How to reproduce

shulkershot: display: '%group-color%Shulkershot' description: Your bow fires an additional shulker bullet on hit. applies-to: Bows type: BOW_FIRE group: ELITE applies:

Put this enchantment into your game and apply it to a bow; it will not work.

Screenshots / Videos

No response

"/ae plinfo" link

https://paste.md-5.net/oherikekat

Server Log

https://mcpaste.io/4b40d115c72722d4

Singularitii commented 3 months ago

Seems to work now for seemingly no reason? Either way seems solved.