mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-12 13:38:35 +00:00
Update ToggleCMD.java / requested changes
This commit is contained in:
@ -55,7 +55,7 @@ public class ToggleCMD extends PlexCommand
|
||||
}
|
||||
case "chat" ->
|
||||
{
|
||||
PlexUtils.broadcast(messageComponent(plugin.toggles.getBoolean("chat") ? "chatOff" : "chatOn", sender.getName()));
|
||||
PlexUtils.broadcast(PlexUtils.messageComponent("chatToggled", sender.getName(), plugin.toggles.getBoolean("chat") ? "off" : "on"));
|
||||
return toggle("chat");
|
||||
}
|
||||
default ->
|
||||
|
Reference in New Issue
Block a user