mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 08:07:46 +00:00
WiP fixed code redundancy
This commit is contained in:
parent
47f449f4e1
commit
32d9fdb818
1 changed files with 0 additions and 3 deletions
|
@ -1730,9 +1730,6 @@ void HousingMgr::removeHouse( Entity::Player& player, uint16_t plot )
|
|||
if( !land || !land->getHouse() )
|
||||
return;
|
||||
|
||||
if( !hasPermission( player, *land, 0 ) )
|
||||
return;
|
||||
|
||||
auto& interiorContainer = getEstateInventory( land->getLandIdent() )[ Common::InventoryType::HousingInteriorAppearance ];
|
||||
auto& invMgr = Common::Service< InventoryMgr >::ref();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue