feat(Core/Scripting): Add new hooks for Ticket (#21238)

This commit is contained in:
iThorgrim 2025-02-17 03:26:05 +01:00 committed by GitHub
parent 0c099a75ec
commit e28384b059
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 143 additions and 13 deletions

View file

@ -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());