mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
!recipes are no longer grouped
(Recipe.setGroup(String) did not do what I thought it would)
This commit is contained in:
parent
2a346d44b1
commit
534ee455c0
@ -130,14 +130,12 @@ public class CustomRecipe implements Comparable<CustomRecipe> {
|
||||
Recipe recipe;
|
||||
if (shapeless) {
|
||||
ShapelessRecipe r = new ShapelessRecipe(key, getResult(null));
|
||||
r.setGroup("mmoitems");
|
||||
for (WorkbenchIngredient ingredient : ingredients.values())
|
||||
if (!(ingredient instanceof AirIngredient))
|
||||
r.addIngredient(ingredient.toBukkit());
|
||||
recipe = r;
|
||||
} else {
|
||||
ShapedRecipe r = new ShapedRecipe(key, getResult(null));
|
||||
r.setGroup("mmoitems");
|
||||
char[] characters = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'};
|
||||
List<Integer> list = new ArrayList<>(ingredients.keySet());
|
||||
StringBuilder firstRow = new StringBuilder();
|
||||
|
Loading…
Reference in New Issue
Block a user