mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
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;
|
||||
}
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user