HyperPigeon / Eldritch-Mobs

A port of the Infernal Mobs mod for Fabric 1.16. Made for Modfest 2020.
https://www.curseforge.com/minecraft/mc-mods/eldritch-mobs
MIT License
8 stars 14 forks source link

Custom Ability "onDamage" trigger doesn't execute properly when using {self} selector in command #86

Closed jozzo402 closed 1 year ago

jozzo402 commented 1 year ago

Specifically this only happens when using the {self} selector as part of the command. When a command without {self} is used, the command triggers properly from all damage sources. Commands with a {self} selector do still trigger correctly if the mob takes damage from the environment, such as fall damage, fire, etc.

Examples:

This isn't an issue with only execute as {self}, using effect give {self} ... results in the same behavior, whereas when I use effect give My_Username ... it works correctly. It seems to be an issue with using selectors in the command.

HyperPigeon commented 1 year ago

Fixed in latest release