You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming that the commands are run in a function (or anywhere else that allows executing commands in bulk), I think this happens because the implemented data tracker for command tags (which also effectively replace the command tags of the entity when queried) is only updated at the end of the tick.
Since commands in a function are executed in a single tick, it would seem that the entity wouldn't have the tag(s) by the point the target selector starts selecting entities, hence the issue. Good catch!
The previous implementation had an optimization where the data tracker for command tags were only set after the end of the tick, which caused the issue. It has been removed not only to fix the issue, but also because it was unnecessary as it's already being done by the data trackers themselves
Resolvesapace100/origins-fabric#757
Issue: Selecting command entities (such as markers) via tags doesn't work
Versions: Origins 1.13.0-alpha.2 & Origins 1.13.0-alpha.3
Example:
The text was updated successfully, but these errors were encountered: