Basic question about modding

Hi guys o/

It’s a simple question but I didn’t find an answer neither here in the forum nor at GDT’s API Wiki(maybe I missed it?), anyway…

I want to know the purpose of the ready and error that GDT.loadJs asks for… If someone have an example of it’s use I’d be really happy to know xD

It allows you to do things when the mod is loaded, or when the mod gives an error, for example when it errors you can do console.log, or when its ready you can do it too

1 Like

Ok, thank you o7