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";