diff options
author | md_5 <git@md-5.net> | 2015-06-06 19:33:48 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-06-06 19:46:42 +1000 |
commit | a65e45d889c1f040e1921eb84903af915df512db (patch) | |
tree | 74ff87413ffc36de8640085c6b611b554a55b144 /nms-patches/InventoryLargeChest.patch | |
parent | a6a57a96d02e57264d45120ce9f272c18c64407a (diff) | |
download | craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.gz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.lz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.xz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.zip |
[SPIGOT-946] Begin making use of access transforms to simplify patching.
Diffstat (limited to 'nms-patches/InventoryLargeChest.patch')
-rw-r--r-- | nms-patches/InventoryLargeChest.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/nms-patches/InventoryLargeChest.patch b/nms-patches/InventoryLargeChest.patch index facb1d3d..a23b0cf5 100644 --- a/nms-patches/InventoryLargeChest.patch +++ b/nms-patches/InventoryLargeChest.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/InventoryLargeChest.java +++ b/net/minecraft/server/InventoryLargeChest.java -@@ -1,10 +1,54 @@ +@@ -1,11 +1,55 @@ package net.minecraft.server; +// CraftBukkit start @@ -13,11 +13,9 @@ public class InventoryLargeChest implements ITileInventory { private String a; -- private ITileInventory left; -- private ITileInventory right; -+ public ITileInventory left; -+ public ITileInventory right; -+ + public ITileInventory left; + public ITileInventory right; + + // CraftBukkit start - add fields and methods + public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>(); + @@ -54,9 +52,10 @@ + this.right.setMaxStackSize(size); + } + // CraftBukkit end - ++ public InventoryLargeChest(String s, ITileInventory itileinventory, ITileInventory itileinventory1) { this.a = s; + if (itileinventory == null) { @@ -68,7 +112,7 @@ } |