diff --git a/methods/CMangos/ItemMethods.h b/methods/CMangos/ItemMethods.h index 80264b2f58..90689bf5f4 100644 --- a/methods/CMangos/ItemMethods.h +++ b/methods/CMangos/ItemMethods.h @@ -257,7 +257,7 @@ namespace LuaItem const ItemTemplate* temp = item->GetTemplate(); std::string name = temp->Name1; if (ItemLocale const* il = eObjectMgr->GetItemLocale(temp->ItemId)) - ObjectMgr::GetLocaleString(il->Name, static_cast(locale), name); + eObjectMgr->GetItemLocaleStrings(temp->ItemId, locale, &name); #if ELUNA_EXPANSION >= EXP_TBC if (int32 itemRandPropId = item->GetItemRandomPropertyId())