Skip to content

Commit

Permalink
Update mod_guildhouse_butler.cpp (#41)
Browse files Browse the repository at this point in the history
GetGOData was changed to GetGameObjectData and the module has been updated
  • Loading branch information
helldragonpz authored Feb 25, 2023
1 parent 3621060 commit 6208c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_guildhouse_butler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class GuildHouseSpawner : public CreatureScript
}

// 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);
}
Expand Down

0 comments on commit 6208c6f

Please sign in to comment.