Change recipe validity check to allow 7/8 as wood types

This commit is contained in:
Mark Johnson
2021-01-21 12:42:36 -05:00
committed by GitHub
parent cb86a9000a
commit 03834ce6bc
+1 -1
View File
@@ -326,7 +326,7 @@ public class BRecipe {
P.p.errorLog("Invalid distilltime '" + distillTime + "' in Recipe: " + getRecipeName()); P.p.errorLog("Invalid distilltime '" + distillTime + "' in Recipe: " + getRecipeName());
return false; return false;
} }
if (wood < 0 || wood > 6) { if (wood < 0 || wood > 8) {
P.p.errorLog("Invalid wood type '" + wood + "' in Recipe: " + getRecipeName()); P.p.errorLog("Invalid wood type '" + wood + "' in Recipe: " + getRecipeName());
return false; return false;
} }