PaperMC/paper-server/nms-patches/net/minecraft/world/item/crafting/IRecipeComplex.patch
CraftBukkit/Spigot 40076782ed Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00

14 lines
438 B
Diff

--- a/net/minecraft/world/item/crafting/IRecipeComplex.java
+++ b/net/minecraft/world/item/crafting/IRecipeComplex.java
@@ -33,4 +33,11 @@
public CraftingBookCategory category() {
return this.category;
}
+
+ // CraftBukkit start
+ @Override
+ public org.bukkit.inventory.Recipe toBukkitRecipe() {
+ return new org.bukkit.craftbukkit.inventory.CraftComplexRecipe(this);
+ }
+ // CraftBukkit end
}