diff options
Diffstat (limited to 'nms-patches/InventoryCraftResult.patch')
-rw-r--r-- | nms-patches/InventoryCraftResult.patch | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nms-patches/InventoryCraftResult.patch b/nms-patches/InventoryCraftResult.patch index de8cd9a6..18926273 100644 --- a/nms-patches/InventoryCraftResult.patch +++ b/nms-patches/InventoryCraftResult.patch @@ -1,9 +1,10 @@ --- a/net/minecraft/server/InventoryCraftResult.java +++ b/net/minecraft/server/InventoryCraftResult.java -@@ -1,9 +1,37 @@ +@@ -1,9 +1,43 @@ package net.minecraft.server; +// CraftBukkit start ++import org.bukkit.Location; +import org.bukkit.craftbukkit.entity.CraftHumanEntity; +import org.bukkit.entity.HumanEntity; +// CraftBukkit end @@ -33,12 +34,17 @@ + public void setMaxStackSize(int size) { + maxStack = size; + } ++ ++ @Override ++ public Location getLocation() { ++ return null; ++ } + // CraftBukkit end + public InventoryCraftResult() {} public int getSize() { -@@ -53,7 +81,7 @@ +@@ -39,7 +73,7 @@ } public int getMaxStackSize() { |