Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MCGalaxy/Commands/Chat/CmdClear.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public override CommandPerm[] ExtraPerms {

public override void Use(Player p, string message, CommandData data) {
if (!message.CaselessEq("global")) {
if (p.IsSuper) { p.Message("Only in-game players can clear chat locally."); return; }
ClearChat(p);
p.Message("&4Chat cleared.");
} else {
Expand Down