Core/Misc: Removed oldTotal from LocaleConstant

This commit is contained in:
hondacrx
2018-12-24 01:01:29 -05:00
parent f414068883
commit 581d0fd1ff
5 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ namespace Game.Chat
{
var record = CliDB.ItemSparseStorage.Values.FirstOrDefault(itemSparse =>
{
for (LocaleConstant i = 0; i < LocaleConstant.Max; ++i)
for (LocaleConstant i = 0; i < LocaleConstant.Total; ++i)
if (itemName == itemSparse.Display[i])
return true;
return false;