From 2037372d84fdb326679affdf3f93829ca881a463 Mon Sep 17 00:00:00 2001 From: Helias Date: Sun, 30 May 2021 17:15:22 +0200 Subject: [PATCH] chore: fix get guid function --- src/reward_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reward_system.cpp b/src/reward_system.cpp index 9ca35b3..ae39b78 100644 --- a/src/reward_system.cpp +++ b/src/reward_system.cpp @@ -76,7 +76,7 @@ public: ChatHandler(receiver->GetSession()).PSendSysMessage("You will receive your item in your mailbox"); // format: name "subject text" "mail text" item1[:count1] item2[:count2] ... item12[:count12] - uint64 receiverGuid = receiver->GetGUID(); + uint64 receiverGuid = receiver->GetGuidValue().GetCounter(); std::string receiverName; std::string subject = "Reward System prize";