Error in log when using StaticString.format
Closed this issue · 2 comments
brisingraerowing commented
[INITIALIZATION][CLIENT][ERROR] crafttweaker\tooltips\coin_tooltips.zs:16 > a method available but none matches the parameters (string, int)
This is usually an error in your script, not in the mod
format(string, ZenTypeNative: java.lang.Object[])
It seems that ZenScript has no idea how to convert an int to an object.
friendlyhj commented
Use StaticString.valueOf
to convert the int to a string manually?
brisingraerowing commented
That's what I ended up doing.