Hang on, don't crash existing worlds. Warn and continue. Re: 8673c02342
This commit is contained in:
@@ -789,7 +789,9 @@ public class CraftingTask implements ICraftingTask {
|
|||||||
@Override
|
@Override
|
||||||
public boolean update() {
|
public boolean update() {
|
||||||
if (!missing.isEmpty() || !missingFluids.isEmpty()) {
|
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) {
|
if (executionStarted == -1) {
|
||||||
|
Reference in New Issue
Block a user