BUG - "onDamaged" trigger doesn't work with armorstand type
Summary
"onDamaged" trigger doesn't work with armorstand type mobs.
Steps to reproduce
- Create and armorstand type mobs with an onDamaged trigger skill, see example below
armorstanddummy:
Type: ARMORSTAND
Display: 'Test-Stand'
Health: 100 #i don't think armorstands can even have health now
Options:
AlwaysShowName: true
Skills:
- message{m="<caster.name>&f<&co> You just attacked me."} @trigger ~onDamaged # doesn't work
- message{m="<caster.name>&f<&co> You just interacted with me."} @trigger ~onInteract
- Spawn the mob in-game
- Attack it with left-click
Current behavior
The trigger is not detecting and the skill isn't fire off.
Intended correct behavior
The trigger is detected and the skill fires off.
Server log file
https://paste.helpch.at/telusewaja.csharp
Video to illustrate the issue
NEW VIDEO COMING SOON
Version Info
> version MythicMobs
[11:32:51 INFO]: MythicMobs version 5.6.1-${CI_COMMIT_SHORT_SHA}
[11:32:51 INFO]: The total solution for all things mob-related.
[11:32:51 INFO]: Author: Lumine
> version
[11:33:09 INFO]: Checking version, please wait...
[11:33:09 INFO]: This server is running Paper version git-Paper-436 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 850b736)
You are 27 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: git-Paper-409 (MC: 1.20.4)```