Merge pull request #374 from notfoundry/issue-361

Change recipe validity check to allow 7/8 as wood types
This commit is contained in:
Sn0wStorm 2021-06-07 16:19:27 +02:00 committed by GitHub
commit ea9d1dfc5b
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;
}