From 78b57a78db80d9b91606029abdf0150ce2cd23c4 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 22 Feb 2020 15:20:01 +0100 Subject: [PATCH] Load 1.15 Schems in 1.12 --- SpigotCore_8/src/de/steamwar/sql/Schematic_8.java | 1 - SpigotCore_Main/src/de/steamwar/sql/Schematic.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/SpigotCore_8/src/de/steamwar/sql/Schematic_8.java b/SpigotCore_8/src/de/steamwar/sql/Schematic_8.java index 8ff0129..84ebbdd 100644 --- a/SpigotCore_8/src/de/steamwar/sql/Schematic_8.java +++ b/SpigotCore_8/src/de/steamwar/sql/Schematic_8.java @@ -103,7 +103,6 @@ class Schematic_8 { } } - @SuppressWarnings("deprecation") private BlockArrayClipboard readSchematic(CompoundTag schematicTag) throws IOException { final Map ids = IDConverter.getMap(); diff --git a/SpigotCore_Main/src/de/steamwar/sql/Schematic.java b/SpigotCore_Main/src/de/steamwar/sql/Schematic.java index 32595a3..9053edf 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/Schematic.java +++ b/SpigotCore_Main/src/de/steamwar/sql/Schematic.java @@ -142,7 +142,7 @@ public class Schematic { } public boolean availible(){ - return Core.getVersion() > 12 || !schemFormat; + return true; } public Clipboard load() throws IOException, NoClipboardException {