diff --git a/Content.Server/Chat/ChatSystem.cs b/Content.Server/Chat/ChatSystem.cs index 77242b9928..fffc299d2b 100644 --- a/Content.Server/Chat/ChatSystem.cs +++ b/Content.Server/Chat/ChatSystem.cs @@ -99,6 +99,10 @@ public sealed class ChatSystem : EntitySystem SendEntityEmote(source, emoteStr, hideChat); } + // This can happen if the entire string is sanitized out. + if (string.IsNullOrEmpty(message)) + return; + // Otherwise, send whatever type. switch (desiredType) {