From 12c90267e0200bd3eb672344a4efe87f87b9d3ae Mon Sep 17 00:00:00 2001 From: whipowill Date: Wed, 18 May 2022 11:34:28 -0500 Subject: [PATCH] Fix GetUInt8 to Get. --- src/mod_achievements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_achievements.cpp b/src/mod_achievements.cpp index 8001c67..763dab6 100644 --- a/src/mod_achievements.cpp +++ b/src/mod_achievements.cpp @@ -42,7 +42,7 @@ public: { Field* fields = result1->Fetch(); - uint32 race = fields[1].GetUInt8(); + uint32 race = fields[1].Get(); if ((Player::TeamIdForRace(race) == Player::TeamIdForRace(pPlayer->getRace())) || !limitrace) Guids.push_back(result1->Fetch()[0].GetUInt32());