Fix debug-dump filename

This commit is contained in:
Lukas Rieger (Blue) 2024-06-30 09:01:06 +02:00
parent 458daaa325
commit 22450e7632
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6

View File

@ -644,7 +644,7 @@ public int debugDumpCommand(CommandContext<S> context) {
final CommandSource source = commandSourceInterface.apply(context.getSource()); final CommandSource source = commandSourceInterface.apply(context.getSource());
try { try {
Path file = plugin.getBlueMap().getConfig().getCoreConfig().getData().resolve("dump.json.gz"); Path file = plugin.getBlueMap().getConfig().getCoreConfig().getData().resolve("dump.json");
StateDumper.global().dump(file); StateDumper.global().dump(file);
source.sendMessage(Text.of(TextColor.GREEN, "Dump created at: " + file)); source.sendMessage(Text.of(TextColor.GREEN, "Dump created at: " + file));