summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventorySubcontainer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/InventorySubcontainer.patch')
-rw-r--r--nms-patches/InventorySubcontainer.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/nms-patches/InventorySubcontainer.patch b/nms-patches/InventorySubcontainer.patch
index 65a3f5e3..5cb52434 100644
--- a/nms-patches/InventorySubcontainer.patch
+++ b/nms-patches/InventorySubcontainer.patch
@@ -1,6 +1,6 @@
--- a/net/minecraft/server/InventorySubcontainer.java
+++ b/net/minecraft/server/InventorySubcontainer.java
-@@ -3,15 +3,56 @@
+@@ -3,6 +3,12 @@
import com.google.common.collect.Lists;
import java.util.List;
@@ -13,9 +13,7 @@
public class InventorySubcontainer implements IInventory {
private String a;
- private int b;
-- private ItemStack[] items;
-+ public ItemStack[] items; // CraftBukkit - public
+@@ -11,7 +17,42 @@
private List<IInventoryListener> d;
private boolean e;