Open/Hide for SaddleBags/Retainers working

This commit is contained in:
Zeffuro
2025-12-31 23:59:34 +01:00
parent 0ba5c0698e
commit ca2baf917e
7 changed files with 181 additions and 24 deletions
@@ -297,6 +297,14 @@ public class InventoryCategoryNode : SimpleComponentNode
return;
}
if (acceptedPayload.IsSameBaseContainer(nodePayload))
{
Services.Logger.Information("[OnPayload] Source and target are in the same base container, skipping move.");
node.IconId = targetItemInfo.IconId;
node.Payload = nodePayload;
return;
}
var sourceCopy = acceptedPayload;
var targetCopy = nodePayload;