1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-04 17:57:47 +00:00

force stack to 1 for housing items

This commit is contained in:
NotAdam 2018-12-25 22:59:13 +11:00
parent 19017f6e12
commit 95862a4fac

View file

@ -112,6 +112,7 @@ bool Sapphire::World::Manager::HousingMgr::loadEstateInventories()
auto item = Inventory::make_HousingItem( itemId, catalogId ); auto item = Inventory::make_HousingItem( itemId, catalogId );
item->setStain( stain ); item->setStain( stain );
item->setStackSize( 1 );
// todo: need to set the owner character id on the item // todo: need to set the owner character id on the item
// set world pos on item if its in an placed item container // set world pos on item if its in an placed item container