From 6e387f33217ee5511099b4cd67d9883271f5ba6d Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 12 Sep 2019 03:44:31 +0200 Subject: [PATCH] Do not remove the schematic file extension --- .../plotsquared/plot/util/SchematicHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/SchematicHandler.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/SchematicHandler.java index 9742ffb98..326d151e6 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/SchematicHandler.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/SchematicHandler.java @@ -291,7 +291,7 @@ public abstract class SchematicHandler { parent.list((dir, name) -> name.endsWith(".schematic") || name.endsWith(".schem")); if (rawNames != null) { final List transformed = Arrays.stream(rawNames) - .map(rawName -> rawName.substring(0, rawName.length() - 10)) + //.map(rawName -> rawName.substring(0, rawName.length() - 10)) .collect(Collectors.toList()); names.addAll(transformed); }