diff options
Diffstat (limited to 'nms-patches/ContainerBeacon.patch')
-rw-r--r-- | nms-patches/ContainerBeacon.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nms-patches/ContainerBeacon.patch b/nms-patches/ContainerBeacon.patch index 348689e2..bc61586d 100644 --- a/nms-patches/ContainerBeacon.patch +++ b/nms-patches/ContainerBeacon.patch @@ -1,5 +1,5 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/ContainerBeacon.java 2014-11-28 17:43:42.997707437 +0000 -+++ src/main/java/net/minecraft/server/ContainerBeacon.java 2014-11-28 17:38:18.000000000 +0000 +--- /home/matt/mc-dev-private//net/minecraft/server/ContainerBeacon.java 2015-02-26 22:40:22.379608142 +0000 ++++ src/main/java/net/minecraft/server/ContainerBeacon.java 2015-02-26 22:40:22.379608142 +0000 @@ -1,11 +1,18 @@ package net.minecraft.server; @@ -8,7 +8,7 @@ public class ContainerBeacon extends Container { private IInventory a; - private final SlotBeacon f; + private final ContainerBeacon.SlotBeacon f; + // CraftBukkit start + private CraftInventoryView bukkitEntity = null; + private PlayerInventory player; @@ -17,9 +17,9 @@ public ContainerBeacon(IInventory iinventory, IInventory iinventory1) { + player = (PlayerInventory) iinventory; // CraftBukkit - TODO: check this this.a = iinventory1; - this.a((Slot) (this.f = new SlotBeacon(this, iinventory1, 0, 136, 110))); + this.a((Slot) (this.f = new ContainerBeacon.SlotBeacon(iinventory1, 0, 136, 110))); byte b0 = 36; -@@ -35,6 +42,7 @@ +@@ -47,6 +54,7 @@ } public boolean a(EntityHuman entityhuman) { @@ -27,11 +27,11 @@ return this.a.a(entityhuman); } -@@ -83,4 +91,17 @@ - - return itemstack; +@@ -110,4 +118,17 @@ + return 1; + } } -+ ++ + // CraftBukkit start + @Override + public CraftInventoryView getBukkitView() { |