From ccf5cf5854da2585eadc7f6d2d4f10c2092e8f52 Mon Sep 17 00:00:00 2001 From: okx-code Date: Sat, 24 Feb 2024 06:03:52 +0000 Subject: [PATCH] fix banned pearl toggle again --- .../com/devotedmc/ExilePearl/command/CmdShowAllPearls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/command/CmdShowAllPearls.java b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/command/CmdShowAllPearls.java index 1b9fb7eb2..a3313126d 100644 --- a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/command/CmdShowAllPearls.java +++ b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/command/CmdShowAllPearls.java @@ -226,7 +226,7 @@ public class CmdShowAllPearls extends PearlCommand { Component.text() .decoration(TextDecoration.ITALIC, false) .color(NamedTextColor.AQUA) - .content("Currently turned " + (!bannedPearlToggle ? "on" : "off")) + .content("Currently turned " + (bannedPearlToggle ? "on" : "off")) .build()); return true; }); @@ -241,7 +241,7 @@ public class CmdShowAllPearls extends PearlCommand { } clicker.sendMessage(Component.text() .color(NamedTextColor.GREEN) - .content("Banned pearls toggled " + (bannedPearlToggle ? "on" : "off")) + .content("Banned pearls toggled " + (!bannedPearlToggle ? "on" : "off")) .build()); generateOpenPearlsMenu(clicker); }