feat(Core/Scripting): Add new hooks for Ticket (#21238)
This commit is contained in:
parent
0c099a75ec
commit
e28384b059
10 changed files with 143 additions and 13 deletions
|
|
@ -116,7 +116,7 @@ void WorldSession::HandleGMTicketCreateOpcode(WorldPacket& recvData)
|
|||
ticket->SetChatLog(times, chatLog);
|
||||
|
||||
sTicketMgr->AddTicket(ticket);
|
||||
sTicketMgr->UpdateLastChange();
|
||||
sTicketMgr->UpdateLastChange(ticket);
|
||||
|
||||
ChatHandler(nullptr).SendGMText(LANG_COMMAND_TICKETNEW, GetPlayer()->GetName(), ticket->GetId());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue