mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/PacketIO: Updated packet structures to 8.0.1
This commit is contained in:
@@ -62,6 +62,10 @@ void WorldSession::HandleInspectOpcode(WorldPackets::Inspect::Inspect& inspect)
|
||||
if (v.second != PLAYERSPELL_REMOVED)
|
||||
inspectResult.Talents.push_back(v.first);
|
||||
}
|
||||
|
||||
PlayerPvpTalentMap const& pvpTalents = player->GetPvpTalentMap(player->GetActiveTalentGroup());
|
||||
for (std::size_t i = 0; i < pvpTalents.size(); ++i)
|
||||
inspectResult.PvpTalents[i] = pvpTalents[i];
|
||||
}
|
||||
|
||||
if (Guild* guild = sGuildMgr->GetGuildById(player->GetGuildId()))
|
||||
|
||||
Reference in New Issue
Block a user