mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/WorldSession: Bypass assigned handler restriction if .debug send opcode command is used
This commit is contained in:
@@ -416,7 +416,7 @@ public:
|
||||
}
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "Sending opcode %u", data.GetOpcode());
|
||||
data.hexlike();
|
||||
player->GetSession()->SendPacket(&data);
|
||||
player->GetSession()->SendPacket(&data, true);
|
||||
handler->PSendSysMessage(LANG_COMMAND_OPCODESENT, data.GetOpcode(), unit->GetName());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user