mojira.dev
MC-126403

"execute if score" not working correctly

Using the "if" and "unless" statements for player scores isnt producing correct calculations

e.g. execute as @a[tag=confirm] at @s if score @s cash >= @s transfer run tag @s add success

no matter if the executing entity's "cash" objective is greater than their "transfer" objective or not, they always are tagged with the "success" tag.

Comments 2

Me neither, check your system to make sure nothing else could give the tag.

Baito Anky

(Unassigned)

Unconfirmed

Minecraft 18w08b

Retrieved