mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
Merge branch 'noprivatezones' into develop_5.5x
This commit is contained in:
commit
326be15a1a
1 changed files with 6 additions and 6 deletions
|
@ -314,8 +314,8 @@ void Sapphire::Territory::queuePacketForRange( Entity::Player& sourcePlayer, uin
|
|||
Network::Packets::FFXIVPacketBasePtr pPacketEntry )
|
||||
{
|
||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
return;
|
||||
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
// return;
|
||||
|
||||
auto& serverMgr = Common::Service< World::ServerMgr >::ref();
|
||||
|
||||
|
@ -341,8 +341,8 @@ void Sapphire::Territory::queuePacketForZone( Entity::Player& sourcePlayer,
|
|||
bool forSelf )
|
||||
{
|
||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
return;
|
||||
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
// return;
|
||||
|
||||
auto& serverMgr = Common::Service< World::ServerMgr >::ref();
|
||||
|
||||
|
@ -686,8 +686,8 @@ void Sapphire::Territory::updateInRangeSet( Entity::ActorPtr pActor, Cell* pCell
|
|||
|
||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||
// TODO: make sure gms can overwrite this. Potentially temporary solution
|
||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
return;
|
||||
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||
// return;
|
||||
|
||||
auto iter = pCell->m_actors.begin();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue