mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
update code
This commit is contained in:
parent
69ea353c1e
commit
f1210d6deb
1 changed files with 25 additions and 25 deletions
|
@ -538,8 +538,8 @@ bool Sapphire::Entity::Player::exitInstance()
|
|||
{
|
||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||
|
||||
if( auto d = getCurrentTerritory()->getAsDirector() )
|
||||
if( d->getContentFinderConditionId() > 0 )
|
||||
auto d = getCurrentTerritory()->getAsDirector();
|
||||
if( d && d->getContentFinderConditionId() > 0 )
|
||||
{
|
||||
auto p = makeZonePacket< FFXIVDirectorUnk4 >( getId() );
|
||||
p->data().param[0] = d->getDirectorId();
|
||||
|
|
Loading…
Add table
Reference in a new issue