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