From f840c76e44c6f921d034de7449837888ff6b28e7 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 28 Feb 2022 20:33:00 +0000 Subject: [PATCH] Don't pretty-print exporter json (#3329) --- .../main/java/me/lucko/luckperms/common/backup/Exporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java b/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java index 08b029bd2..1bb05f471 100644 --- a/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java +++ b/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java @@ -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(); }