summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerBrewingStand.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-05-10 21:47:39 +1000
committermd_5 <git@md-5.net>2016-05-10 21:47:39 +1000
commitc5e9a169fa564f3b8119b6666f8df59d5a9b45c3 (patch)
tree9f3b1ce732f0082b71512b1dddb7abb35526226e /nms-patches/ContainerBrewingStand.patch
parent4cb32587ac1ff543b2efa9498f8d0d358cb90c12 (diff)
downloadcraftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.gz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.lz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.xz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.zip
Minecraft 1.9.4
Diffstat (limited to 'nms-patches/ContainerBrewingStand.patch')
-rw-r--r--nms-patches/ContainerBrewingStand.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/ContainerBrewingStand.patch b/nms-patches/ContainerBrewingStand.patch
index 91c9b24a..98ae5c5e 100644
--- a/nms-patches/ContainerBrewingStand.patch
+++ b/nms-patches/ContainerBrewingStand.patch
@@ -1,17 +1,17 @@
--- a/net/minecraft/server/ContainerBrewingStand.java
+++ b/net/minecraft/server/ContainerBrewingStand.java
-@@ -1,5 +1,10 @@
+@@ -1,6 +1,10 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import org.bukkit.craftbukkit.inventory.CraftInventoryBrewer;
+import org.bukkit.craftbukkit.inventory.CraftInventoryView;
+// CraftBukkit end
-+
+
public class ContainerBrewingStand extends Container {
- private IInventory brewingStand;
-@@ -7,7 +12,13 @@
+@@ -9,7 +13,13 @@
private int g;
private int h;
@@ -25,7 +25,7 @@
this.brewingStand = iinventory;
this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(playerinventory.player, iinventory, 0, 56, 51)));
this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(playerinventory.player, iinventory, 1, 79, 58)));
-@@ -54,6 +65,7 @@
+@@ -56,6 +66,7 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -33,7 +33,7 @@
return this.brewingStand.a(entityhuman);
}
-@@ -182,4 +194,17 @@
+@@ -185,4 +196,17 @@
}
}
}