mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-24 23:15:51 +02:00
Don't pretty-print '/lp export' json (#3489)
This commit is contained in:
@@ -258,7 +258,7 @@ public abstract class Exporter implements Runnable {
|
|||||||
|
|
||||||
ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
|
ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
|
||||||
try (Writer writer = new OutputStreamWriter(new GZIPOutputStream(bytesOut), StandardCharsets.UTF_8)) {
|
try (Writer writer = new OutputStreamWriter(new GZIPOutputStream(bytesOut), StandardCharsets.UTF_8)) {
|
||||||
GsonProvider.prettyPrinting().toJson(json, writer);
|
GsonProvider.normal().toJson(json, writer);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
this.plugin.getLogger().severe("Error compressing data", e);
|
this.plugin.getLogger().severe("Error compressing data", e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user