sandstone icon indicating copy to clipboard operation
sandstone copied to clipboard

Execute if score not functioning

Open TheEternalShine opened this issue 1 year ago • 0 comments

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:

const TEST = Objective.create("test", "dummy");
MCFunction("test", () => {
  execute.unless.score(TEST("@s"), "=", TEST("@s")).run(() => {
    say("test");
  });
})

TheEternalShine avatar Dec 08 '23 13:12 TheEternalShine