From e5c3b86e589613df61bc380d8d2b63ae2280bbf7 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 22 Aug 2020 08:45:49 +0200 Subject: [PATCH] HOTHOTHOTFix Signed-off-by: Lixfel --- .../src/de/steamwar/schematicsystem/commands/GUI.java | 1 - 1 file changed, 1 deletion(-) diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/GUI.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/GUI.java index 12dbf9c..bd35b11 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/GUI.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/GUI.java @@ -60,7 +60,6 @@ class GUI { private static void deleteMembership(Player p, Schematic schem){ SWInventory inv = new SWInventory(p, 9, schem.getSchemName() + " entfernen"); inv.setItem(0, SWItem.getDye(1), (byte) 1, "§eZugriff entfernen", click -> { - schem.remove(); SchematicMember member = SchematicMember.getSchemMemberFromDB(schem.getSchemName(), schem.getSchemOwner(), SteamwarUser.get(p.getUniqueId()).getId()); member.remove(); p.sendMessage(SchematicSystem.PREFIX + "Zugriff zu Schematic §e" + schem.getSchemName() + " §7entfernt");