mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-24 21:57:44 +00:00
Fix stupid mistake stopping ward 1 from working when zoning
This commit is contained in:
parent
381d8ae940
commit
8f16c32a4b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void Sapphire::World::Manager::PlayerMgr::movePlayerToLandDestination( Core::Ent
|
|||
if( terriPos )
|
||||
{
|
||||
// check if its a housing zone, zoning is different here
|
||||
if( terriMgr->isHousingTerritory( terriPos->getTargetZoneId() ) && param != 0 )
|
||||
if( terriMgr->isHousingTerritory( terriPos->getTargetZoneId() ) )
|
||||
{
|
||||
auto housingMgr = g_fw.get< Core::HousingMgr >();
|
||||
auto landSetId = housingMgr->toLandSetId( terriPos->getTargetZoneId(), param );
|
||||
|
|
Loading…
Add table
Reference in a new issue