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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,7 @@ public class BRecipe {
P.p.errorLog("Invalid distilltime '" + distillTime + "' in Recipe: " + getRecipeName());
return false;
}
if (wood < 0 || wood > 6) {
if (wood < 0 || wood > 8) {
P.p.errorLog("Invalid wood type '" + wood + "' in Recipe: " + getRecipeName());
return false;
}