From a65e45d889c1f040e1921eb84903af915df512db Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 6 Jun 2015 19:33:48 +1000 Subject: [SPIGOT-946] Begin making use of access transforms to simplify patching. --- nms-patches/InventoryLargeChest.patch | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'nms-patches/InventoryLargeChest.patch') 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 transaction = new java.util.ArrayList(); + @@ -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 @@ } -- cgit v1.2.3