WingedSeal / jmc

A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack
https://jmc.wingedseal.com
MIT License
64 stars 10 forks source link

Improve `if` `else` by not creating unnecessary functions #80

Closed WingedSeal closed 8 months ago

Nico314159 commented 8 months ago

Related issue: fix the bug where doing "if... else if" without "else" will result in skipped numbers

WingedSeal commented 8 months ago

Fixed and improved in https://github.com/WingedSeal/jmc/commit/416f86a84556e0df57835640088c0d4df7b456b3