mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core: Updated to 11.1.0
This commit is contained in:
@@ -184,7 +184,7 @@ public:
|
||||
static bool HandleLearnAllTalentsCommand(ChatHandler* handler)
|
||||
{
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
uint32 playerClass = player->GetClass();
|
||||
uint8 playerClass = player->GetClass();
|
||||
|
||||
for (uint32 i = 0; i < sTalentStore.GetNumRows(); ++i)
|
||||
{
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
if (!talentInfo)
|
||||
continue;
|
||||
|
||||
if (playerClass != talentInfo->ClassID)
|
||||
if (playerClass != uint8(talentInfo->ClassID))
|
||||
continue;
|
||||
|
||||
if (talentInfo->SpecID && player->GetPrimarySpecialization() != ChrSpecialization(talentInfo->SpecID))
|
||||
|
||||
Reference in New Issue
Block a user