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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user