Fix placeholder

This commit is contained in:
ceze88 2024-08-21 13:23:14 +02:00
parent a561930794
commit 69a7c6bb1a

View File

@ -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 -> {