summaryrefslogtreecommitdiffstats
path: root/nms-patches/ShapelessRecipes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ShapelessRecipes.patch')
-rw-r--r--nms-patches/ShapelessRecipes.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/nms-patches/ShapelessRecipes.patch b/nms-patches/ShapelessRecipes.patch
index 9f214f4c..1b5c2636 100644
--- a/nms-patches/ShapelessRecipes.patch
+++ b/nms-patches/ShapelessRecipes.patch
@@ -11,7 +11,7 @@
public class ShapelessRecipes implements IRecipe {
-@@ -20,6 +24,20 @@
+@@ -20,6 +24,22 @@
this.ingredients = nonnulllist;
}
@@ -20,6 +20,8 @@
+ public org.bukkit.inventory.ShapelessRecipe toBukkitRecipe() {
+ CraftItemStack result = CraftItemStack.asCraftMirror(this.result);
+ CraftShapelessRecipe recipe = new CraftShapelessRecipe(result, this);
++ recipe.setGroup(this.b);
++
+ for (RecipeItemStack list : this.ingredients) {
+ list.buildChoices();
+ net.minecraft.server.ItemStack stack = list.choices[0];
@@ -32,7 +34,7 @@
public MinecraftKey getKey() {
return this.a;
}
-@@ -127,11 +145,11 @@
+@@ -127,11 +147,11 @@
packetdataserializer.a(shapelessrecipes.result);
}