CraftTweaker / ZenScript

MIT License
77 stars 22 forks source link

Large function parameters and ternary type cast #19

Closed kindlich closed 5 years ago

kindlich commented 6 years ago

LArge types (e.g. double) in function parameters should work now. Ternary expressions now cast both expressions to the first type (I know casting the first expression to it's type doesnt do anything but maybe in the future getType will return something different (and it doesnt create an additional instruction so we're good to go) ^^)