mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Fix #1087 Stop multifarm from putting harvest into upper slots
This commit is contained in:
1 parent
75d747df70
commit
fd6958b637
1 file changed
+2
-14
@@ -201,22 +201,10 @@ public class InventoryFarm extends InventoryAdapterRestricted implements IFarmIn
|
||||
|
||||
public void stowHarvest(Iterable<ItemStack> harvested, Stack<ItemStack> pendingProduce) {
|
||||
for (ItemStack harvest : harvested) {
|
||||
|
||||
if (acceptsAsGermling(harvest)) {
|
||||
harvest.stackSize -= InventoryUtil.addStack(germlingsInventory, harvest, true);
|
||||
}
|
||||
|
||||
if (harvest.stackSize <= 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
harvest.stackSize -= InventoryUtil.addStack(productInventory, harvest, true);
|
||||
|
||||
if (harvest.stackSize <= 0) {
|
||||
continue;
|
||||
if (harvest.stackSize > 0) {
|
||||
pendingProduce.push(harvest);
|
||||
}
|
||||
|
||||
pendingProduce.push(harvest);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user