mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Merge pull request #328 from CivMC/fixtoggle
fix banned pearl toggle again
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user