1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-03 03:12:46 +02:00

Don't pretty-print exporter json (#3329)

This commit is contained in:
Luck
2022-02-28 20:33:00 +00:00
parent 775f1adf36
commit f840c76e44

View File

@@ -235,7 +235,7 @@ public abstract class Exporter implements Runnable {
this.log.log("Finished gathering data, writing file...");
try (BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new GZIPOutputStream(Files.newOutputStream(this.filePath)), StandardCharsets.UTF_8))) {
GsonProvider.prettyPrinting().toJson(json, out);
GsonProvider.normal().toJson(json, out);
} catch (IOException e) {
e.printStackTrace();
}