mirror of
https://github.com/azerothcore/mod-account-mounts
synced 2025-11-29 23:44:52 +08:00
fix(MOD): Update a guid var after the ObjectGuid implementation (#6)
This commit is contained in:
@@ -18,7 +18,7 @@ public:
|
||||
ChatHandler(pPlayer->GetSession()).SendSysMessage("This server is running the |cff4CFF00AccountMounts |rmodule.");
|
||||
}
|
||||
std::vector<uint32> Guids;
|
||||
uint32 playerGUID = pPlayer->GetGUID();
|
||||
uint32 playerGUID = pPlayer->GetGUID().GetCounter();
|
||||
QueryResult result1 = CharacterDatabase.PQuery("SELECT guid, race FROM characters WHERE account = %u", playerGUID);
|
||||
if (!result1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user