From 5aae0c84942403429a026de0b0299c6e297fef6a Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Wed, 26 Jun 2024 23:00:27 +0200 Subject: [PATCH] chore: undo format check on load --- .../java/com/sk89q/worldedit/command/SchematicCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java index 120327615..920a24901 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java @@ -396,7 +396,7 @@ public class SchematicCommands { .isInSubDirectory(saveDir, file)) + ")")); return; } - if (format == null || !format.isFormat(file)) { + if (format == null) { format = ClipboardFormats.findByFile(file); if (format == null) { actor.print(Caption.of("worldedit.schematic.unknown-format", TextComponent.of(formatName)));