mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
@@ -50,9 +50,9 @@ void Transmogrification::LoadPlayerSets(ObjectGuid pGUID)
|
||||
{
|
||||
do
|
||||
{
|
||||
uint8 PresetID = (*result)[0].GetUInt8();
|
||||
std::string SetName = (*result)[1].GetString();
|
||||
std::istringstream SetData((*result)[2].GetString());
|
||||
uint8 PresetID = (*result)[0].Get<uint8>();
|
||||
std::string SetName = (*result)[1].Get<std::string>();
|
||||
std::istringstream SetData((*result)[2].Get<std::string>());
|
||||
while (SetData.good())
|
||||
{
|
||||
uint32 slot;
|
||||
|
||||
@@ -410,8 +410,8 @@ public:
|
||||
{
|
||||
do
|
||||
{
|
||||
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].GetUInt32());
|
||||
uint32 fakeEntry = (*result)[1].GetUInt32();
|
||||
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].Get<uint32>());
|
||||
uint32 fakeEntry = (*result)[1].Get<uint32>();
|
||||
if (sObjectMgr->GetItemTemplate(fakeEntry))
|
||||
{
|
||||
sT->dataMap[itemGUID] = playerGUID;
|
||||
|
||||
Reference in New Issue
Block a user