From 450dfa1181047b142b236c2519ee744b563921cd Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Tue, 30 Jan 2024 21:35:03 -0800 Subject: [PATCH] Disallow chatting when ignoring all and tell player how to switch it back --- MCGalaxy/Player/Player.Handlers.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MCGalaxy/Player/Player.Handlers.cs b/MCGalaxy/Player/Player.Handlers.cs index 3e25f1def..3c2818681 100644 --- a/MCGalaxy/Player/Player.Handlers.cs +++ b/MCGalaxy/Player/Player.Handlers.cs @@ -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);