summaryrefslogtreecommitdiffstats
path: root/nms-patches/ShapedRecipes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ShapedRecipes.patch')
-rw-r--r--nms-patches/ShapedRecipes.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/nms-patches/ShapedRecipes.patch b/nms-patches/ShapedRecipes.patch
index b68788a1..d38a490e 100644
--- a/nms-patches/ShapedRecipes.patch
+++ b/nms-patches/ShapedRecipes.patch
@@ -11,7 +11,7 @@
public class ShapedRecipes implements IRecipe {
-@@ -32,6 +36,64 @@
+@@ -32,6 +36,66 @@
this.result = itemstack;
}
@@ -19,6 +19,8 @@
+ public org.bukkit.inventory.ShapedRecipe toBukkitRecipe() {
+ CraftItemStack result = CraftItemStack.asCraftMirror(this.result);
+ CraftShapedRecipe recipe = new CraftShapedRecipe(result, this);
++ recipe.setGroup(this.f);
++
+ switch (this.height) {
+ case 1:
+ switch (this.width) {
@@ -76,7 +78,7 @@
public MinecraftKey getKey() {
return this.e;
}
-@@ -302,11 +364,11 @@
+@@ -302,11 +366,11 @@
packetdataserializer.a(shapedrecipes.result);
}