Fixed fluid autocrafting without item inputs locking when there's not enough space for the fluids. Fixes #2016

This commit is contained in:
raoulvdberge
2018-10-01 22:37:19 +02:00
parent 7b8960de94
commit 48a96b7ff6
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
- Fixed an autocrafting bug where it crashed when external inventories couldn't be filled (raoulvdberge) - Fixed an autocrafting bug where it crashed when external inventories couldn't be filled (raoulvdberge)
- Fixed a duplication bug with a disconnected Crafting Grid (raoulvdberge) - Fixed a duplication bug with a disconnected Crafting Grid (raoulvdberge)
- Fixed oredict autocrafting sometimes reporting that a craftable item is missing (raoulvdberge) - Fixed oredict autocrafting sometimes reporting that a craftable item is missing (raoulvdberge)
- Fixed fluid autocrafting without item inputs locking when there's not enough space for the fluids (raoulvdberge)
- Removed handling of reusable items in autocrafting, to avoid problems (raoulvdberge) - Removed handling of reusable items in autocrafting, to avoid problems (raoulvdberge)
### 1.6.5 ### 1.6.5

View File

@@ -712,7 +712,7 @@ public class CraftingTask implements ICraftingTask {
p.setState(ProcessingState.MACHINE_DOES_NOT_ACCEPT); p.setState(ProcessingState.MACHINE_DOES_NOT_ACCEPT);
break; break;
} else if (p.getState() == ProcessingState.READY) { // If the items were ok. } else if (p.getState() == ProcessingState.READY || p.getItemsToPut().isEmpty()) { // If the items were ok (or if we didn't have items).
p.setState(ProcessingState.READY); p.setState(ProcessingState.READY);
} }
} }