mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-23 17:37:45 +01:00
15 lines
400 B
Diff
15 lines
400 B
Diff
--- a/net/minecraft/server/IRecipeComplex.java
|
|
+++ b/net/minecraft/server/IRecipeComplex.java
|
|
@@ -22,4 +22,11 @@
|
|
public ItemStack getResult() {
|
|
return ItemStack.b;
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ @Override
|
|
+ public org.bukkit.inventory.Recipe toBukkitRecipe() {
|
|
+ return new org.bukkit.craftbukkit.inventory.CraftComplexRecipe(this);
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|