1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

force stack to 1 for housing items

This commit is contained in:
NotAdam 2018-12-25 22:59:13 +11:00
parent b624237731
commit e0aa6550ae

View file

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