Skip to content

Commit

Permalink
fix error caused by the player join message
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomGamers committed Dec 15, 2023
1 parent 212ea71 commit 6d88f6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NebulaWorld/MonoBehaviours/Local/Chat/ChatWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,12 @@ public ChatMessage SendLocalChatMessage(string text, ChatMessageType messageType
break;
case ChatMessageType.PlayerMessagePrivate:
break;
case ChatMessageType.SystemInfoMessage when Config.Options.EnableInfoMessage:
break;
case ChatMessageType.SystemWarnMessage when Config.Options.EnableWarnMessage:
break;
default:
throw new ArgumentOutOfRangeException(nameof(messageType), messageType, null);
throw new ArgumentOutOfRangeException(nameof(messageType), "Invalid message type: " + messageType);
}
}

Expand Down

0 comments on commit 6d88f6a

Please sign in to comment.