From aa008dff0f9bedbe88e1fe79831776b0a52eb90a Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 1 Mar 2016 08:32:46 +1100 Subject: Update to Minecraft 1.9 --- nms-patches/InventoryLargeChest.patch | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'nms-patches/InventoryLargeChest.patch') diff --git a/nms-patches/InventoryLargeChest.patch b/nms-patches/InventoryLargeChest.patch index a23b0cf5..2332ec3b 100644 --- a/nms-patches/InventoryLargeChest.patch +++ b/nms-patches/InventoryLargeChest.patch @@ -1,10 +1,11 @@ --- a/net/minecraft/server/InventoryLargeChest.java +++ b/net/minecraft/server/InventoryLargeChest.java -@@ -1,11 +1,55 @@ +@@ -1,11 +1,61 @@ package net.minecraft.server; +// CraftBukkit start +import java.util.List; ++import org.bukkit.Location; + +import org.bukkit.craftbukkit.entity.CraftHumanEntity; +import org.bukkit.entity.HumanEntity; @@ -51,12 +52,17 @@ + this.left.setMaxStackSize(size); + this.right.setMaxStackSize(size); + } ++ ++ @Override ++ public Location getLocation() { ++ return left.getLocation(); // TODO: right? ++ } + // CraftBukkit end + public InventoryLargeChest(String s, ITileInventory itileinventory, ITileInventory itileinventory1) { this.a = s; if (itileinventory == null) { -@@ -68,7 +112,7 @@ +@@ -68,7 +118,7 @@ } public int getMaxStackSize() { -- cgit v1.2.3