Skip to content

Commit

Permalink
Corrected error message when the long.chat_requires_player_level is s…
Browse files Browse the repository at this point in the history
…et and not met. (#4129)

Co-authored-by: Ross Elliott <relliott@provismedia.com>
  • Loading branch information
OptimShi and rossdelliott authored Mar 15, 2024
1 parent ba02f74 commit 9d75fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ACE.Server/Network/Handlers/TurbineChatHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public static void TurbineChatReceived(ClientMessage clientMessage, Session sess
var chat_requires_player_level = PropertyManager.GetLong("chat_requires_player_level").Item;
if (chat_requires_player_level > 0 && session.Player.Level < chat_requires_player_level)
{
HandleChatReject(session, contextId, chatType, gameMessageTurbineChat, $"because this character has reached level {chat_requires_player_level}");
HandleChatReject(session, contextId, chatType, gameMessageTurbineChat, $"because this character has not reached level {chat_requires_player_level}");
return;
}

Expand Down

0 comments on commit 9d75fc2

Please sign in to comment.