mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
Support Mangrove Wood for Barrels
This commit is contained in:
@@ -325,7 +325,7 @@ public class BRecipe {
|
||||
P.p.errorLog("Invalid distilltime '" + distillTime + "' in Recipe: " + getRecipeName());
|
||||
return false;
|
||||
}
|
||||
if (wood < 0 || wood > 8) {
|
||||
if (wood < 0 || wood > 9) {
|
||||
P.p.errorLog("Invalid wood type '" + wood + "' in Recipe: " + getRecipeName());
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ public class LegacyUtil {
|
||||
get("DARK_OAK_STAIRS"),
|
||||
get("CRIMSON_STAIRS"),
|
||||
get("WARPED_STAIRS"),
|
||||
get("MANGROVE_STAIRS"),
|
||||
};
|
||||
for (Material stair : gotStairs) {
|
||||
if (stair != null) {
|
||||
@@ -186,6 +187,8 @@ public class LegacyUtil {
|
||||
return 7;
|
||||
} else if (material.startsWith("WARPED")) {
|
||||
return 8;
|
||||
} else if (material.startsWith("MANGROVE")) {
|
||||
return 9;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user