[35msay [0myo
[35mexecute [34mif score [36m@p[33m[[37mtag[34m=[32mxlib_target[33m] [0min_cobweb_decision [34mmatches [32m1 [34mrun [35msay [0mhi
#Simple commands not working for some reason
1 messages · Page 1 of 1 (latest)
It doesn't work in the datapack, yet it works in chat
most obvious thing it could be is that @p doesnt have the tag
it's shown in the video that it does
it doesnt have a condition though
you're probably not reloading the datapack correctly
oh nevermind
another option could be that there is a player closer to the location of your command with the tag but not with the score
where are you running the command? (like the location context)
Testing with tellraw @a {"score":{"name":"@p[tag=xlib_target]","objective":"in_cobweb_decision"}}, it seems that in_cobweb_decision is set to 0 at that point in the datapack but is 1 by the end of the tick, hence it shows on the scoreboard
Sorry for wasting your time
haha yea very common issue :P