Bug Closed · Could not replicate

AddTag mechanic doesn't work

#5255 opened by Unknown 2 years ago

Unknownreported this bug

Summary

AddTag mechanic doesn't add a tag

Steps to reproduce

use the mechanic. Example: addtag{t=Test} And run /tag @e list. You will see the tag is not applied to your target.

Current behavior

Skill addtag doesn't work because when I do /tag @e list, nothing is showed.

Intended correct behavior

Scoreboard tag should be applied.

Server log file

https://pastebin.com/uJEWY0Fj

Debug log snippet

https://pastebin.com/D8akrt1Q

Proposed fixes

Idk.

Unknowncommented

addtag and related conditions appear to work fine on the latest builds

TestMechanicAddTag:
  Type: COW
  Display: '<gold>TestMechanicAddTag'
  Skills:
  - addtag{t="TEST"} @self ~onInteract
  - removetag{t="TEST"} @self ~onDamaged
  - message{m="i have a tag!";audience=WORLD} @self ~onTimer:20 ?hasTag{tag=TEST} 

when right-clicking the cow it will send the message as expected, and /tag @e list shows the TEST tag is present

Sign in to join the discussion.