diff options
Diffstat (limited to 'nms-patches/InventoryCraftResult.patch')
-rw-r--r-- | nms-patches/InventoryCraftResult.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nms-patches/InventoryCraftResult.patch b/nms-patches/InventoryCraftResult.patch index 18926273..9434a528 100644 --- a/nms-patches/InventoryCraftResult.patch +++ b/nms-patches/InventoryCraftResult.patch @@ -1,14 +1,15 @@ --- a/net/minecraft/server/InventoryCraftResult.java +++ b/net/minecraft/server/InventoryCraftResult.java -@@ -1,9 +1,43 @@ +@@ -1,11 +1,44 @@ package net.minecraft.server; + import javax.annotation.Nullable; +// CraftBukkit start +import org.bukkit.Location; +import org.bukkit.craftbukkit.entity.CraftHumanEntity; +import org.bukkit.entity.HumanEntity; +// CraftBukkit end -+ + public class InventoryCraftResult implements IInventory { private ItemStack[] items = new ItemStack[1]; @@ -44,7 +45,7 @@ public InventoryCraftResult() {} public int getSize() { -@@ -39,7 +73,7 @@ +@@ -44,7 +77,7 @@ } public int getMaxStackSize() { |