mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Phasing: Implemented db spawns in personal phases (#26345)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
@@ -186,3 +186,11 @@ void PhaseShift::UpdatePersonalGuid()
|
||||
if (!PersonalReferences)
|
||||
PersonalGuid.Clear();
|
||||
}
|
||||
|
||||
bool PhaseShift::HasPersonalPhase() const
|
||||
{
|
||||
for (PhaseRef const& phaseRef : GetPhases())
|
||||
if (phaseRef.IsPersonal())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user