mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 22:15:33 +00:00
Add missing Organic flag check for herbalism
This commit is contained in:
parent
861d41f4a4
commit
c01153569d
1 changed files with 1 additions and 3 deletions
|
@ -1990,9 +1990,7 @@ namespace MWRender
|
|||
mObjectRoot->accept(visitor);
|
||||
}
|
||||
|
||||
if (ptr.getTypeName() == typeid(ESM::Container).name() &&
|
||||
SceneUtil::hasUserDescription(mObjectRoot, Constants::HerbalismLabel) &&
|
||||
ptr.getRefData().getCustomData() != nullptr)
|
||||
if (ptr.getRefData().getCustomData() != nullptr && canBeHarvested())
|
||||
{
|
||||
const MWWorld::ContainerStore& store = ptr.getClass().getContainerStore(ptr);
|
||||
if (!store.hasVisibleItems())
|
||||
|
|
Loading…
Reference in a new issue