mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Core: Console can now see invalid command attempts.
This commit is contained in:
parent
767b663566
commit
92f1f5ab04
@ -766,6 +766,7 @@ namespace MCGalaxy {
|
|||||||
cmdArgs = cmd.ToLower(); cmd = "mode";
|
cmdArgs = cmd.ToLower(); cmd = "mode";
|
||||||
command = Command.all.Find("mode");
|
command = Command.all.Find("mode");
|
||||||
} else {
|
} else {
|
||||||
|
Server.s.CommandUsed(name + " tried to use unknown command: /" + cmd + " " + cmdArgs);
|
||||||
SendMessage("Unknown command \"" + cmd + "\"."); return null;
|
SendMessage("Unknown command \"" + cmd + "\"."); return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user