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

修复喷涂增产剂的物品会卡住储物仓垃圾桶的问题

Fix issue where items with productivity spray get stuck in storage dustbin
This commit is contained in:
SSSSSSSan
2025-11-23 21:15:58 +08:00
committed by Soar Qin
parent f7fc9aaab0
commit 7e9f9ee1ce
3 changed files with 98 additions and 12 deletions

View File

@@ -225,11 +225,11 @@ public static class BeltSignal
int itemId;
if ((itemId = cargoPath.TryPickItem(belt.segIndex + belt.segPivotOffset - 5, 12, out var stack, out _)) <= 0) continue;
consumeRegister[itemId] += stack;
Dustbin.CalcGetSands(itemId, stack);
Dustbin.CalcGetSands(itemId, stack, 0);
}
}
})
);
return matcher.InstructionEnumeration();
}
}
}