1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-22 14:23:25 +08:00

UXAssist: some fixes

This commit is contained in:
2026-03-07 19:42:29 +08:00
parent 5e501ea649
commit ad99b49bad
3 changed files with 12 additions and 33 deletions

View File

@@ -2579,10 +2579,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
foreach (var kvp in takeOutItems)
{
var added = mainPlayer.TryAddItemToPackage(kvp.Key, (int)(kvp.Value & 0xFFFFFFFF), (int)(kvp.Value >> 32), true, entityId);
if (added > 0)
{
UIItemup.Up(kvp.Key, added);
}
if (added > 0) UIItemup.Up(kvp.Key, added);
}
}
}