[SPIGOT-946] Begin making use of access transforms to simplify patching.

This commit is contained in:
md_5
2015-06-06 19:33:48 +10:00
parent a6a57a96d0
commit a65e45d889
47 changed files with 76 additions and 632 deletions

View File

@@ -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 @@
}