Fix TC build

This commit is contained in:
Rochet2
2019-07-04 21:19:30 +03:00
parent ba8891e447
commit 7e41c418bc
3 changed files with 40 additions and 0 deletions

View File

@@ -307,7 +307,11 @@ namespace LuaItem
item->GetEnchantmentId(BONUS_ENCHANTMENT_SLOT) << ":" <<
#endif
item->GetItemRandomPropertyId() << ":" << item->GetItemSuffixFactor() << ":" <<
#ifdef TRINITY
(uint32)item->GetOwner()->GetLevel() << "|h[" << name << "]|h|r";
#else
(uint32)item->GetOwner()->getLevel() << "|h[" << name << "]|h|r";
#endif
Eluna::Push(L, oss.str());
return 1;