Core/Players: Properly mark all class/specialization/talent/pvp talent learned spells as dependent
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7f5c19e1a1b969bf34fcf5cb38f54c1472583ea)
This commit is contained in:
@@ -4570,13 +4570,11 @@ namespace Game.Entities
|
||||
if (enabled)
|
||||
{
|
||||
SetPlayerFlag(PlayerFlags.WarModeDesired);
|
||||
TogglePvpTalents(true);
|
||||
SetPvP(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
RemovePlayerFlag(PlayerFlags.WarModeDesired);
|
||||
TogglePvpTalents(false);
|
||||
SetPvP(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user