summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerBeacon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ContainerBeacon.patch')
-rw-r--r--nms-patches/ContainerBeacon.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/nms-patches/ContainerBeacon.patch b/nms-patches/ContainerBeacon.patch
index 332ab07f..fd200e71 100644
--- a/nms-patches/ContainerBeacon.patch
+++ b/nms-patches/ContainerBeacon.patch
@@ -1,10 +1,11 @@
--- a/net/minecraft/server/ContainerBeacon.java
+++ b/net/minecraft/server/ContainerBeacon.java
-@@ -1,11 +1,18 @@
+@@ -1,13 +1,19 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.inventory.CraftInventoryView; // CraftBukkit
-+
+
public class ContainerBeacon extends Container {
private IInventory beacon;
@@ -19,7 +20,7 @@
this.beacon = iinventory1;
this.a((Slot) (this.f = new ContainerBeacon.SlotBeacon(iinventory1, 0, 136, 110)));
byte b0 = 36;
-@@ -47,6 +54,7 @@
+@@ -49,6 +55,7 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -27,7 +28,7 @@
return this.beacon.a(entityhuman);
}
-@@ -110,4 +118,17 @@
+@@ -113,4 +120,17 @@
return 1;
}
}