mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-10-03 10:33:29 -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,
|
public static void MessageFrom(Player source, string msg,
|
||||||
ChatMessageFilter filter = null, bool irc = false) {
|
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);
|
MessageFrom(ChatScope.Global, source, msg, null, filter, irc);
|
||||||
} else {
|
} else {
|
||||||
string prefix = Server.Config.ServerWideChat ? "<Local>" : "";
|
string prefix = Server.Config.ServerWideChat ? "<Local>" : "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user