mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 15:47:46 +00:00
commit
8fcee959c6
1 changed files with 3 additions and 0 deletions
|
@ -1017,7 +1017,10 @@ void Core::DebugCommandHandler::housing( char* data, Entity::Player& player, std
|
||||||
{
|
{
|
||||||
auto pHousing = std::dynamic_pointer_cast< HousingZone >( pZone );
|
auto pHousing = std::dynamic_pointer_cast< HousingZone >( pZone );
|
||||||
if( pHousing )
|
if( pHousing )
|
||||||
|
{
|
||||||
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
|
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
|
||||||
|
player.sendLandPermissions();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
player.sendDebug( "You aren't in a housing Zone." );
|
player.sendDebug( "You aren't in a housing Zone." );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue