Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

Cannot evaluate a package as expression #92

Closed DarkTerraYT closed 1 year ago

DarkTerraYT commented 1 year ago

I have two .zs scripts, one called stagePROJECTE.zs and stagePROJECTEXPANSION.zs

the two contents of these files are

stagePROJECTEXPANSION.zs: mods.ItemStages.stageModItems("projectExpansion", "projectexpansion");

and for stagePROJECTE.zs: mods.ItemStages.stageModItems("stageProjecte", "projecte");

Darkhax commented 1 year ago

The script you have written is for Minecraft 1.12.2 but I am guessing you're using a newer version? For Minecraft 1.16.5 and up you should use this documentation.

DarkTerraYT commented 1 year ago

Ah, thank you. I looked in 1.19 but couldn't find anything for it, should've looked harder 😅. You should probably update that or at least put something somewhere that says that the script example is for 1.12.2