We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3dd7c commit 1283015Copy full SHA for 1283015
methods/CMangos/ItemMethods.h
@@ -257,7 +257,7 @@ namespace LuaItem
257
const ItemTemplate* temp = item->GetTemplate();
258
std::string name = temp->Name1;
259
if (ItemLocale const* il = eObjectMgr->GetItemLocale(temp->ItemId))
260
- ObjectMgr::GetLocaleString(il->Name, static_cast<LocaleConstant>(locale), name);
+ eObjectMgr->GetItemLocaleStrings(temp->ItemId, locale, &name);
261
262
#if ELUNA_EXPANSION >= EXP_TBC
263
if (int32 itemRandPropId = item->GetItemRandomPropertyId())
0 commit comments