mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +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 );
|
||||
if( pHousing )
|
||||
{
|
||||
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
|
||||
player.sendLandPermissions();
|
||||
}
|
||||
else
|
||||
player.sendDebug( "You aren't in a housing Zone." );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue