From ab7602879ca32e124e82c5755aa34ff3be115b74 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 21 Nov 2021 10:58:47 +0100 Subject: [PATCH] Yeeeeeeeeeeeeeeeeeet --- .../src/de/steamwar/fightsystem/commands/GUI.java | 4 ++-- pom.xml | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/commands/GUI.java b/FightSystem_Core/src/de/steamwar/fightsystem/commands/GUI.java index 1d1713a..3b9c90d 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/commands/GUI.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/commands/GUI.java @@ -32,10 +32,10 @@ import de.steamwar.inventory.SWInventory; import de.steamwar.inventory.SWItem; import de.steamwar.inventory.SWListInv; import de.steamwar.message.Message; -import de.steamwar.schematicsystem.util.SchematicSelector; import de.steamwar.sql.PersonalKit; import de.steamwar.sql.SchematicNode; import de.steamwar.sql.SteamwarUser; +import de.steamwar.util.SchematicSelector; import net.md_5.bungee.api.ChatMessageType; import org.bukkit.Bukkit; import org.bukkit.Material; @@ -187,7 +187,7 @@ public class GUI { } private static void schemDialog(Player p, boolean publicSchems){ - SchematicSelector selector = new SchematicSelector(p, SchematicSelector.selectSchematicType(Config.SchematicType), node -> { + SchematicSelector selector = new SchematicSelector(p, Config.test()?SchematicSelector.selectSchematic():SchematicSelector.selectSchematicTypeWithRank(Config.SchematicType, Fight.getMaxRank()), node -> { FightTeam fightTeam = Fight.getPlayerTeam(p); if(fightTeam == null) return; diff --git a/pom.xml b/pom.xml index 4056ded..35a72ae 100644 --- a/pom.xml +++ b/pom.xml @@ -69,13 +69,6 @@ system ${main.basedir}/lib/SpigotCore.jar - - steamwar - SchematicSystem - 1.0 - system - ${main.basedir}/lib/SchematicSystem.jar -