Hang on, don't crash existing worlds. Warn and continue. Re: 8673c02342

This commit is contained in:
raoulvdberge
2018-10-01 23:01:40 +02:00
parent 8673c02342
commit c77128e54f

View File

@@ -789,7 +789,9 @@ public class CraftingTask implements ICraftingTask {
@Override
public boolean update() {
if (!missing.isEmpty() || !missingFluids.isEmpty()) {
throw new IllegalStateException("Crafting task with missing items or fluids cannot execute");
LOGGER.warn("Crafting task with missing items or fluids cannot execute, cancelling...");
return true;
}
if (executionStarted == -1) {