Fixed hooks OnPlayerJoinArena and OnPlayerJoinBG

This commit is contained in:
Matteo Emili
2017-01-29 22:03:03 +01:00
committed by Yehonal
parent 25a38da1e3
commit cbdecc0828
3 changed files with 12 additions and 12 deletions

View File

@@ -1344,14 +1344,14 @@ void ScriptMgr::OnEquip(Player* player, Item* it, uint8 bag, uint8 slot, bool up
FOREACH_SCRIPT(PlayerScript)->OnEquip(player, it, bag, slot, update);
}
void ScriptMgr::OnPlayerJoinBG(Player* player, Battleground* bg)
void ScriptMgr::OnPlayerJoinBG(Player* player)
{
FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinBG(player, bg);
FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinBG(player);
}
void ScriptMgr::OnPlayerJoinArena(Player* player, Battleground* bg)
void ScriptMgr::OnPlayerJoinArena(Player* player)
{
FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinArena(player, bg);
FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinArena(player);
}
void ScriptMgr::OnLootItem(Player* player, Item* item, uint32 count, uint64 lootguid)