mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
40076782ed
By: md_5 <git@md-5.net>
14 lines
438 B
Diff
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
|
|
}
|