summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryLargeChest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/InventoryLargeChest.patch')
-rw-r--r--nms-patches/InventoryLargeChest.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/nms-patches/InventoryLargeChest.patch b/nms-patches/InventoryLargeChest.patch
index 2332ec3b..17df409c 100644
--- a/nms-patches/InventoryLargeChest.patch
+++ b/nms-patches/InventoryLargeChest.patch
@@ -1,8 +1,9 @@
--- a/net/minecraft/server/InventoryLargeChest.java
+++ b/net/minecraft/server/InventoryLargeChest.java
-@@ -1,11 +1,61 @@
+@@ -1,6 +1,13 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import java.util.List;
+import org.bukkit.Location;
@@ -10,10 +11,10 @@
+import org.bukkit.craftbukkit.entity.CraftHumanEntity;
+import org.bukkit.entity.HumanEntity;
+// CraftBukkit end
-+
+
public class InventoryLargeChest implements ITileInventory {
- private String a;
+@@ -8,6 +15,48 @@
public ITileInventory left;
public ITileInventory right;
@@ -62,7 +63,7 @@
public InventoryLargeChest(String s, ITileInventory itileinventory, ITileInventory itileinventory1) {
this.a = s;
if (itileinventory == null) {
-@@ -68,7 +118,7 @@
+@@ -73,7 +122,7 @@
}
public int getMaxStackSize() {