mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-28 10:53:51 -07:00
[SPIGOT-946] Begin making use of access transforms to simplify patching.
This commit is contained in:
@@ -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 @@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user