mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 17:27:47 +00:00
minor update
This commit is contained in:
parent
602f175912
commit
245d709566
1 changed files with 2 additions and 2 deletions
|
@ -1663,7 +1663,7 @@ void Sapphire::World::Manager::HousingMgr::editAppearance( bool isInterior, Sapp
|
||||||
if( oldItem )
|
if( oldItem )
|
||||||
{
|
{
|
||||||
housingContainer->removeItem( i );
|
housingContainer->removeItem( i );
|
||||||
invMgr.removeItemFromHousingContainer( land->getLandIdent(), housingContainer->getId(), i );
|
invMgr.removeItemFromHousingContainer( landIdent, housingContainer->getId(), i );
|
||||||
player.addItem( oldItem, false, false, false );
|
player.addItem( oldItem, false, false, false );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1682,7 +1682,7 @@ void Sapphire::World::Manager::HousingMgr::editAppearance( bool isInterior, Sapp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
invMgr.sendInventoryContainer( player, housingContainer );
|
invMgr.sendInventoryContainer( player, housingContainer );
|
||||||
invMgr.saveHousingContainer( land->getLandIdent(), housingContainer );
|
invMgr.saveHousingContainer( landIdent, housingContainer );
|
||||||
updateHouseModels( land->getHouse() );
|
updateHouseModels( land->getHouse() );
|
||||||
if( !isInterior )
|
if( !isInterior )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue