feat(Core/Object): Add helper to allow removing allowed looters (#16709)
This commit is contained in:
parent
cb392752ef
commit
f5d0246292
2 changed files with 6 additions and 0 deletions
|
|
@ -3167,3 +3167,8 @@ GuidUnorderedSet const& WorldObject::GetAllowedLooters() const
|
|||
{
|
||||
return _allowedLooters;
|
||||
}
|
||||
|
||||
void WorldObject::RemoveAllowedLooter(ObjectGuid guid)
|
||||
{
|
||||
_allowedLooters.erase(guid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue