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.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/nms-patches/InventoryLargeChest.patch b/nms-patches/InventoryLargeChest.patch
index 3ed9ccd8..f4fdba28 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,62 @@
+@@ -1,6 +1,14 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import java.util.ArrayList;
+import java.util.List;
@@ -11,10 +12,10 @@
+import org.bukkit.craftbukkit.entity.CraftHumanEntity;
+import org.bukkit.entity.HumanEntity;
+// CraftBukkit end
-+
+
public class InventoryLargeChest implements ITileInventory {
- private final String a;
+@@ -8,6 +16,48 @@
public final ITileInventory left;
public final ITileInventory right;
@@ -60,10 +61,10 @@
+ }
+ // CraftBukkit end
+
- public InventoryLargeChest(String s, ITileInventory itileinventory, ITileInventory itileinventory1) {
- this.a = s;
+ public InventoryLargeChest(IChatBaseComponent ichatbasecomponent, ITileInventory itileinventory, ITileInventory itileinventory1) {
+ this.a = ichatbasecomponent;
if (itileinventory == null) {
-@@ -72,7 +123,7 @@
+@@ -75,7 +125,7 @@
}
public int getMaxStackSize() {