1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-07 11:17:46 +00:00

Merge branch 'housing' of https://github.com/SapphireMordred/Sapphire into housing

This commit is contained in:
mordred 2018-11-09 11:27:57 +01:00
commit c5e3330182

View file

@ -1017,7 +1017,10 @@ void Core::DebugCommandHandler::housing( char* data, Entity::Player& player, std
{
auto pHousing = std::dynamic_pointer_cast< HousingZone >( pZone );
if( pHousing )
{
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
player.sendLandPermissions();
}
else
player.sendDebug( "You aren't in a housing Zone." );
}