Stevertus / mcscript

A programming language for Minecraft Vanilla
https://mcscript.stevertus.com
MIT License
233 stars 16 forks source link

Load incorrectly compiling #9

Closed Mastermori closed 5 years ago

Mastermori commented 5 years ago

When you add variables in the load file, it doesn't compile the mcscript/load function correctly and puts its content in the normal load function which then looks like this: `function kitpvp:mcscript/load

say Loaded

scoreboard players set @s test 10 execute as @a run say test "#" Extended from data/kitpvp/functions/load.mcscript "#" to .//kitpvp/data/kitpvp/functions/load.mcfunction kitpvp/data/kitpvp/functions/mcscript/load "#" please do not touch this file! "#" it is used by the compiler! scoreboard objectives add test dummy`

(the quotes around the # are put in by me so github doesnt mess with them)

and thereby it doesnt load any of these files.

Stevertus commented 5 years ago

Could you try it with the new version? It might be fixed there

Mastermori commented 5 years ago

Yes, it is fixed now, you can close this issue, but there still are some mcscript/load bugs.