From 69a7c6bb1a2fec2cb930aaac7c8e510c435b79c9 Mon Sep 17 00:00:00 2001 From: ceze88 Date: Wed, 21 Aug 2024 13:23:14 +0200 Subject: [PATCH] Fix placeholder --- .../java/com/craftaro/ultimatekits/gui/KitGuiOptionsGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/craftaro/ultimatekits/gui/KitGuiOptionsGui.java b/src/main/java/com/craftaro/ultimatekits/gui/KitGuiOptionsGui.java index c9f68f6..3c4d239 100644 --- a/src/main/java/com/craftaro/ultimatekits/gui/KitGuiOptionsGui.java +++ b/src/main/java/com/craftaro/ultimatekits/gui/KitGuiOptionsGui.java @@ -111,7 +111,7 @@ public class KitGuiOptionsGui extends Gui { this.plugin.getLocale().getMessage("interface.kitguioptions.hide").toText(), this.plugin.getLocale().getMessage("interface.kitguioptions.hidelore") .processPlaceholder("onoff", this.plugin.getLocale().getMessage( - this.kit.isHidden() ? "interface.kitguioptions.hideon" : "interface.kitguioptions.hideoff").getMessage() + this.kit.isHidden() ? "interface.kitguioptions.hideon" : "interface.kitguioptions.hideoff").toText() ).toText().split("\\|")), ClickType.LEFT, event -> {