mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 17:13:47 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -1801,7 +1801,7 @@ public:
|
||||
{
|
||||
Unit::SetPvP(state);
|
||||
if (!m_Controlled.empty())
|
||||
for (auto itr : m_Controlled)
|
||||
for (auto& itr : m_Controlled)
|
||||
itr->SetPvP(state);
|
||||
}
|
||||
void UpdatePvP(bool state, bool _override = false);
|
||||
|
||||
Reference in New Issue
Block a user