summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerDispenser.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ContainerDispenser.patch')
-rw-r--r--nms-patches/ContainerDispenser.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/nms-patches/ContainerDispenser.patch b/nms-patches/ContainerDispenser.patch
index 9435edcb..9b8b1ad2 100644
--- a/nms-patches/ContainerDispenser.patch
+++ b/nms-patches/ContainerDispenser.patch
@@ -1,14 +1,13 @@
--- a/net/minecraft/server/ContainerDispenser.java
+++ b/net/minecraft/server/ContainerDispenser.java
-@@ -1,13 +1,25 @@
+@@ -1,11 +1,24 @@
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 ContainerDispenser extends Container {
public final IInventory items;
@@ -26,7 +25,7 @@
int i;
int j;
-@@ -31,6 +43,7 @@
+@@ -29,6 +42,7 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -34,7 +33,7 @@
return this.items.a(entityhuman);
}
-@@ -66,4 +79,17 @@
+@@ -63,4 +77,17 @@
return itemstack;
}