mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
8b26bb8f3e
By: md_5 <git@md-5.net>
15 lines
438 B
Diff
15 lines
438 B
Diff
--- a/net/minecraft/world/item/crafting/IRecipeComplex.java
|
|
+++ b/net/minecraft/world/item/crafting/IRecipeComplex.java
|
|
@@ -32,4 +32,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
|
|
}
|