Update mod_guildhouse_butler.cpp (#41)

GetGOData was changed to GetGameObjectData and the module has been updated
This commit is contained in:
helldragonpz
2023-02-26 01:07:37 +02:00
committed by GitHub
parent 3621060996
commit 6208c6f2b3

View File

@@ -395,7 +395,7 @@ public:
}
// TODO: is it really necessary to add both the real and DB table guid here ?
sObjectMgr->AddGameobjectToGrid(guidLow, sObjectMgr->GetGOData(guidLow));
sObjectMgr->AddGameobjectToGrid(guidLow, sObjectMgr->GetGameObjectData(guidLow));
player->ModifyMoney(-cost);
CloseGossipMenuFor(player);
}