fix(Core/PVP): Fix OutDoorPVP CustomSpell handling (#18389)
* fix(Core/PVP): Fix OutDoorPVP CustomSpell handling - the function HandleCustomSpell() should only return true if it actually handled a spell * comment unused parameter
This commit is contained in:
@@ -553,9 +553,9 @@ bool OutdoorPvP::HandleCustomSpell(Player* player, uint32 spellId, GameObject* g
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OPvPCapturePoint::HandleCustomSpell(Player* player, uint32 /*spellId*/, GameObject* /*go*/)
|
bool OPvPCapturePoint::HandleCustomSpell(Player* /*player*/, uint32 /*spellId*/, GameObject* /*go*/)
|
||||||
{
|
{
|
||||||
return player->IsOutdoorPvPActive();
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OutdoorPvP::HandleOpenGo(Player* player, GameObject* go)
|
bool OutdoorPvP::HandleOpenGo(Player* player, GameObject* go)
|
||||||
|
|||||||
Reference in New Issue
Block a user