ITADN

Execute if score not functioning

#225OpenTheEternalShine 创建于 2023-12-08
T
TheEternalShinecommented
The `execute.if.score` and `execute.unless.score` can error with certain arguments, this appears to be because of `isScore`'s check no longer triggering correctly. (in `src/commands/implementations/entity/execute.ts`) Example: ```ts const TEST = Objective.create("test", "dummy"); MCFunction("test", () => { execute.unless.score(TEST("@s"), "=", TEST("@s")).run(() => { say("test"); }); }) ```
0 条评论