mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-10-02 10:01:34 -04:00
Fix /hug and /high5 not working from console (thanks scav)
This commit is contained in:
parent
ece35367d4
commit
27eed10f21
@ -148,7 +148,7 @@ namespace MCGalaxy {
|
||||
|
||||
public static void MessageFrom(Player source, string msg,
|
||||
ChatMessageFilter filter = null, bool irc = false) {
|
||||
if (source.level.SeesServerWideChat) {
|
||||
if (source.level == null || source.level.SeesServerWideChat) {
|
||||
MessageFrom(ChatScope.Global, source, msg, null, filter, irc);
|
||||
} else {
|
||||
string prefix = Server.Config.ServerWideChat ? "<Local>" : "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user