craftbukkit/nms-patches/net/minecraft/world/item/crafting/IRecipeComplex.patch

15 lines
438 B
Diff
Raw Normal View History

2021-03-16 09:00:00 +11:00
--- a/net/minecraft/world/item/crafting/IRecipeComplex.java
+++ b/net/minecraft/world/item/crafting/IRecipeComplex.java
2023-03-15 03:30:00 +11:00
@@ -33,4 +33,11 @@
2022-12-08 03:00:00 +11:00
public CraftingBookCategory category() {
return this.category;
2019-12-11 09:00:00 +11:00
}
+
+ // CraftBukkit start
+ @Override
+ public org.bukkit.inventory.Recipe toBukkitRecipe() {
+ return new org.bukkit.craftbukkit.inventory.CraftComplexRecipe(this);
+ }
+ // CraftBukkit end
}