You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the meantime, if you use Sublime Text, install the "JSON Reindent" package. Fix you right up. But I agree, it'd be nice to have this as the default.
https://github.com/TheAwesomeGem/BlockDropsTweaker/blob/master/src/main/java/net/theawesomegem/blockdropstweaker/common/blockconfig/ConfigurationHandler.java#L156-L169
This is the way I write JsonObjects to strings in my mod:
And then you just provide the method with the string it should indent with. Passing null or an empty string does minified JSON (like it is currently).
The text was updated successfully, but these errors were encountered: