mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 10:08:54 +00:00
Added more default recipes + small fixes
BStats shows that >75% of users don't add any recipes themselves. So even if I would have preferred not to, i've added more default recipes to make it easier for everyone +Fixed Brew Create with space in name +Changed look of Quality Stars (now with half-stars) +Fixed Cauldron Recipe with Multiple Ingredients
This commit is contained in:
@@ -251,6 +251,12 @@ public abstract class RecipeItem implements Cloneable {
|
||||
}
|
||||
Material mat = Material.matchMaterial(ingredParts[0]);
|
||||
|
||||
if (mat == null && !P.use1_14 && ingredParts[0].equalsIgnoreCase("cornflower")) {
|
||||
// Using this in default custom-items, but will error on < 1.14
|
||||
materials.add(Material.BEDROCK);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (mat == null && BConfig.hasVault) {
|
||||
try {
|
||||
net.milkbowl.vault.item.ItemInfo vaultItem = net.milkbowl.vault.item.Items.itemByString(ingredParts[0]);
|
||||
|
||||
Reference in New Issue
Block a user