1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 16:17:46 +00:00

WiP fixed code redundancy

This commit is contained in:
Mordred 2023-01-26 15:33:53 +01:00
parent 47f449f4e1
commit 32d9fdb818

View file

@ -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();