From 1c16f6703e8339084089ade47fc0ec534a2dc490 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 16 Mar 2022 16:52:23 +0100 Subject: [PATCH] Fix GUI #2 Signed-off-by: Lixfel --- .../src/de/steamwar/schematicsystem/commands/GUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/GUI.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/GUI.java index 646094e..8fb1f87 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/GUI.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/GUI.java @@ -101,7 +101,7 @@ public class GUI { node.setReplaceColor(!node.replaceColor()); info(player, node, back); }); - inv.setItem(13, SWItem.getMaterial(node.allowReplay() ? "EYE_OF_ENDER" : "ENDER_PEARL"), "Replay Wiedergabe", Arrays.asList("§7Aktuell: " + (node.replaceColor()?"§aAn":"§4Aus"), "§7Zum §lAusschaulten", "§7anklicken"), false, clickType -> { + inv.setItem(13, SWItem.getMaterial(node.allowReplay() ? "EYE_OF_ENDER" : "ENDER_PEARL"), "Replay Wiedergabe", Arrays.asList("§7Aktuell: " + (node.allowReplay()?"§aAn":"§4Aus"), "§7Zum §lAusschalten", "§7anklicken"), false, clickType -> { if(node.allowReplay()) { SWInventory confInv = new SWInventory(player, 9, "Wiedergabe dauerhaft sperren"); confInv.setItem(0, SWItem.getDye(10), (byte) 10, "§aBestätigen", type -> {