mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-12 15: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" ->
|
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");
|
return toggle("chat");
|
||||||
}
|
}
|
||||||
default ->
|
default ->
|
||||||
|
Reference in New Issue
Block a user