Stevertus/mcscript

variable compile error

susautw opened this issue · 1 comments

Follow this code:

var constants

if(constants c1 > 0){
    /say hi
}

will compiled to

scoreboard objectives add constants dummy

execute if score c1 c1 matches 1.. run say hi

and I expected this

scoreboard objectives add constants dummy

execute if score c1 constants matches 1.. run say hi

I think this need fix.

fixed in v0.2.3