mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
[Client] Keep extra item data when adding items to player via Take All
This commit is contained in:
parent
509f03ca52
commit
001d63b59b
@ -265,7 +265,7 @@ void ObjectList::editContainers(MWWorld::CellStore* cellStore)
|
||||
{
|
||||
MWWorld::Ptr ptrPlayer = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||
MWWorld::ContainerStore &playerStore = ptrPlayer.getClass().getContainerStore(ptrPlayer);
|
||||
*playerStore.add(containerItem.refId, containerItem.actionCount, ptrPlayer);
|
||||
*playerStore.add(itemPtr, containerItem.actionCount, ownerPtr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user