GlobbyPotato / Rockhounding_Chemistry

The purpose of Rockhounding Chemistry is to assembly and maintain an industrial area in which several machines handle various types of ingredients (solid, fluid and gaseous) to produce advanced material for mid-late game stages. It also leads to several features, functional applications and experiments.
Other
15 stars 17 forks source link

New reformer CT method is broken #100

Closed wormzjl closed 5 years ago

wormzjl commented 5 years ago

I've tested with the following example script: mods.rockhounding_chemistry.GasReformer.add("Cheap Fuel", <liquid:water_vapour>*100, <liquid:oxygen>*150, <liquid:syngas>*110, <minecraft:diamond_sword>);

However it was not recognized by ct, I got the following error in console:

[SERVER_STARTED][SERVER][ERROR] test.zs:1 > a method available but none matches the parameters (string, ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.item.IItemStack)
This is usually an error in your script, not in the mod
add(ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.liquid.ILiquidStack, ZenTypeNative: crafttweaker.item.IItemStack) 
wormzjl commented 5 years ago

You've probably forgot to add a @ZenMethod before the new method

GlobbyPotato commented 5 years ago

hi, yep, a ZenMethod fell off apparently, probaly accidentally cut on a last minute row managment. The script works now. will put the hotfix soon. Thanks for reporting.