Jump to content

Recommended Posts

Posted

This is my first time making a code mod, and im trying to fetch a json file, but it cant seem to find it.

`api.Logger.Notification(api.Assets.Exists(new AssetLocation("vintagediseases:diseases/testdisease.json")).ToString());` returns False


I checked my bin/Debug and the files exist and are named properly. What am I doing wrong?

 

image-1.png

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.