Custom Abilities get duplicated by /reload
jozzo402 opened this issue ยท 1 comments
I have a custom ability called "Haunting" that I noticed was being applied to mobs multiple times (eg. Haunting Speedster Rust Haunting Zombie). The ability would also activate twice, so it's not just a visual bug. This behavior stopped when I restarted the game, but would start again whenever I used /reload
- Create a custom ability via datapack
- While in-game use /reload any amount of times
- Use /summon_eldritch etc to spawn a mob with abilities, repeat until you get a mob with multiple instances of the custom ability
- Restart your game to fix
My haunting.json ability, just in case it's relevant:
{
"name": "Haunting",
"type": "ACTIVE",
"subtype": "OFFENSIVE",
"activationType": "hasTarget",
"cooldown": 500,
"command": "execute at {target} run summon bewitchment:ghost ~ ~ ~"
}