Fix some crashes

This commit is contained in:
hondacrx
2021-05-11 15:27:28 -04:00
parent 3731817668
commit 6e896c8829
5 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ namespace Game.Chat
List<string> FindWordGroup(uint language, uint wordLen)
{
return _wordsMap.LookupByKey(Tuple.Create(language, wordLen));
return _wordsMap.LookupByKey(Tuple.Create(language, (byte)wordLen));
}
public string Translate(string msg, uint language, Locale locale)