mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Datastore: updated db2 field names and types to reflect client magic names
*fixed string length for sending names in item_sparse length
This commit is contained in:
@@ -1231,7 +1231,7 @@ public:
|
||||
auto itr = std::find_if(sItemSparseStore.begin(), sItemSparseStore.end(), [&itemName](ItemSparseEntry const* sparse)
|
||||
{
|
||||
for (uint32 i = 0; i < MAX_LOCALES; ++i)
|
||||
if (itemName == sparse->Name->Str[i])
|
||||
if (itemName == sparse->Display->Str[i])
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user