mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-02-03 22:11:45 +01:00
Updated to pretty print the json
This commit is contained in:
parent
64d67a14a8
commit
3a5c6d88cb
@ -1,6 +1,7 @@
|
||||
package com.sekwah.advancedportals.core.util;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.sekwah.advancedportals.core.AdvancedPortalsCore;
|
||||
|
||||
import java.io.*;
|
||||
@ -13,7 +14,7 @@ public class DataStorage {
|
||||
|
||||
public DataStorage(File dataFolder) {
|
||||
this.dataFolder = dataFolder;
|
||||
gson = new Gson();
|
||||
gson = new GsonBuilder().setPrettyPrinting().create();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user