mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-17 05:41:35 +01:00
Don't pretty-print exporter json (#3329)
This commit is contained in:
parent
775f1adf36
commit
f840c76e44
@ -235,7 +235,7 @@ public abstract class Exporter implements Runnable {
|
|||||||
this.log.log("Finished gathering data, writing file...");
|
this.log.log("Finished gathering data, writing file...");
|
||||||
|
|
||||||
try (BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new GZIPOutputStream(Files.newOutputStream(this.filePath)), StandardCharsets.UTF_8))) {
|
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) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user