mirror of
https://github.com/azerothcore/mod-account-mounts
synced 2025-11-29 23:44:52 +08:00
@@ -20,8 +20,8 @@ public:
|
||||
}
|
||||
|
||||
std::vector<uint32> Guids;
|
||||
uint32 playerGUID = pPlayer->GetGUID().GetCounter();
|
||||
QueryResult result1 = CharacterDatabase.Query("SELECT `guid`, `race` FROM `characters` WHERE `account`={};", playerGUID);
|
||||
uint32 playerAccountID = pPlayer->GetSession()->GetAccountId();
|
||||
QueryResult result1 = CharacterDatabase.Query("SELECT `guid`, `race` FROM `characters` WHERE `account`={};", playerAccountID);
|
||||
|
||||
if (!result1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user