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, 4 insertions, 5 deletions
diff --git a/nms-patches/ContainerBeacon.patch b/nms-patches/ContainerBeacon.patch
index 0e544bc0..13196bb7 100644
--- a/nms-patches/ContainerBeacon.patch
+++ b/nms-patches/ContainerBeacon.patch
@@ -1,11 +1,10 @@
--- a/net/minecraft/server/ContainerBeacon.java
+++ b/net/minecraft/server/ContainerBeacon.java
-@@ -1,13 +1,19 @@
+@@ -1,11 +1,18 @@
package net.minecraft.server;
- import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.inventory.CraftInventoryView; // CraftBukkit
-
++
public class ContainerBeacon extends Container {
private final IInventory beacon;
@@ -20,7 +19,7 @@
this.beacon = iinventory1;
this.f = new ContainerBeacon.SlotBeacon(iinventory1, 0, 136, 110);
this.a((Slot) this.f);
-@@ -50,6 +56,7 @@
+@@ -48,6 +55,7 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -28,7 +27,7 @@
return this.beacon.a(entityhuman);
}
-@@ -114,4 +121,17 @@
+@@ -113,4 +121,17 @@
return 1;
}
}