mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Test fix for heal rotations crashing server surrounding player zoning
This commit is contained in:
parent
f77f996c3f
commit
9e41795594
@ -646,7 +646,10 @@ void HealRotation::bias_targets()
|
|||||||
|
|
||||||
// attempt to clear invalid target pool entries
|
// attempt to clear invalid target pool entries
|
||||||
m_target_pool.remove(nullptr);
|
m_target_pool.remove(nullptr);
|
||||||
m_target_pool.remove_if([](Mob* l) { return (!IsHealRotationTargetMobType(l)); });
|
m_target_pool.remove_if([](Mob* l) {
|
||||||
|
try { return (!IsHealRotationTargetMobType(l)); }
|
||||||
|
catch (...) { return true; }
|
||||||
|
});
|
||||||
|
|
||||||
uint32 sort_type = 0; // debug
|
uint32 sort_type = 0; // debug
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user