From fc0b522fcbcf7e132d9b3a03cc6532a7edf295d4 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 9 Jul 2019 19:05:34 +0200 Subject: [PATCH] Fixing schemselection bug --- src/me/yaruma/fightsystem/commands/GUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/yaruma/fightsystem/commands/GUI.java b/src/me/yaruma/fightsystem/commands/GUI.java index d124a5e..52e4a66 100644 --- a/src/me/yaruma/fightsystem/commands/GUI.java +++ b/src/me/yaruma/fightsystem/commands/GUI.java @@ -92,7 +92,7 @@ public class GUI { if(Schematic.getSchemsOfType(p.getUniqueId(), Config.SchematicType).isEmpty()){ inv.setItem(0, Material.INK_SACK, (byte)8, "§7Keine privaten " + Config.GameName + " vorhanden", (ClickType click)->{}); }else{ - inv.setItem(8, Material.CAULDRON_ITEM, "§ePrivates " + Config.GameName, (ClickType click) -> schemDialog(p, false)); + inv.setItem(0, Material.CAULDRON_ITEM, "§ePrivates " + Config.GameName, (ClickType click) -> schemDialog(p, false)); } inv.setCallback(-999, (ClickType click) -> p.closeInventory()); inv.open();