sandstone
sandstone copied to clipboard
Execute if score not functioning
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");
});
})