mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 20:16:36 -04:00
Disallow chatting when ignoring all and tell player how to switch it back
This commit is contained in:
parent
3684f31064
commit
450dfa1181
@ -404,6 +404,11 @@ namespace MCGalaxy
|
||||
|
||||
// Put this after vote collection so that people can vote even when chat is moderated
|
||||
if (!CheckCanSpeak("speak")) return;
|
||||
if (Ignores.All) {
|
||||
Message("Your message wasn't sent because you're ignoring all chat.");
|
||||
Message("Use &T/ignore all &Sagain to toggle chat back on.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (ChatModes.Handle(this, text)) return;
|
||||
text = HandleJoker(text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user