1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

remove the code restricting ic territories from being created

This commit is contained in:
NotAdam 2019-05-07 22:16:18 +10:00
parent 591f57cec2
commit 0350b4dc22

View file

@ -261,8 +261,9 @@ Sapphire::ZonePtr Sapphire::World::Manager::TerritoryMgr::createTerritoryInstanc
if( !isValidTerritory( territoryTypeId ) )
return nullptr;
if( isInstanceContentTerritory( territoryTypeId ) )
return nullptr;
// nb: disabled for now because there's not a real reason to have this constraint, makes testing some stuff easier too
// if( isInstanceContentTerritory( territoryTypeId ) )
// return nullptr;
auto pExdData = framework()->get< Data::ExdDataGenerated >();
auto pTeri = getTerritoryDetail( territoryTypeId );