diff options
Diffstat (limited to 'nms-patches/ContainerChest.patch')
-rw-r--r-- | nms-patches/ContainerChest.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/nms-patches/ContainerChest.patch b/nms-patches/ContainerChest.patch index 05e02ff5..9535a080 100644 --- a/nms-patches/ContainerChest.patch +++ b/nms-patches/ContainerChest.patch @@ -1,14 +1,13 @@ --- a/net/minecraft/server/ContainerChest.java +++ b/net/minecraft/server/ContainerChest.java -@@ -1,11 +1,38 @@ +@@ -1,9 +1,37 @@ package net.minecraft.server; - import javax.annotation.Nullable; +// CraftBukkit start +import org.bukkit.craftbukkit.inventory.CraftInventory; +import org.bukkit.craftbukkit.inventory.CraftInventoryView; +// CraftBukkit end - ++ public class ContainerChest extends Container { private final IInventory container; @@ -39,7 +38,7 @@ public ContainerChest(IInventory iinventory, IInventory iinventory1, EntityHuman entityhuman) { this.container = iinventory1; -@@ -13,6 +40,11 @@ +@@ -11,6 +39,11 @@ iinventory1.startOpen(entityhuman); int i = (this.f - 4) * 18; @@ -51,7 +50,7 @@ int j; int k; -@@ -35,6 +67,7 @@ +@@ -33,6 +66,7 @@ } public boolean a(EntityHuman entityhuman) { |