From e1418aed99348fc1b15a69442c5534b3cb514086 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 20 Feb 2022 18:59:34 +0100 Subject: [PATCH] Hotfix checkschemtype Signed-off-by: Lixfel --- .../src/de/steamwar/schematicsystem/CheckSchemType.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/CheckSchemType.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/CheckSchemType.java index 6a929a3..9af5cee 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/CheckSchemType.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/CheckSchemType.java @@ -20,7 +20,6 @@ package de.steamwar.schematicsystem; import com.sk89q.worldedit.extent.clipboard.Clipboard; -import de.steamwar.core.Core; import de.steamwar.core.VersionDependent; import de.steamwar.sql.NoClipboardException; import de.steamwar.sql.SchematicNode; @@ -71,7 +70,7 @@ public class CheckSchemType { } static { - File folder = new File(Core.getInstance().getDataFolder().getParentFile(), "FightSystem"); + File folder = new File(SchematicSystem.getInstance().getDataFolder().getParentFile(), "FightSystem"); if(folder.exists()) { for(File configFile : folder.listFiles((file, name) -> name.endsWith(".yml") && !name.endsWith(".kits.yml"))) {