summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityBrewingStand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityBrewingStand.patch')
-rw-r--r--nms-patches/TileEntityBrewingStand.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/TileEntityBrewingStand.patch b/nms-patches/TileEntityBrewingStand.patch
index 09127560..f2172667 100644
--- a/nms-patches/TileEntityBrewingStand.patch
+++ b/nms-patches/TileEntityBrewingStand.patch
@@ -1,8 +1,8 @@
--- a/net/minecraft/server/TileEntityBrewingStand.java
+++ b/net/minecraft/server/TileEntityBrewingStand.java
-@@ -2,6 +2,13 @@
-
+@@ -3,6 +3,13 @@
import java.util.Arrays;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import java.util.List;
@@ -14,7 +14,7 @@
public class TileEntityBrewingStand extends TileEntityContainer implements ITickable, IWorldInventory {
private static final int[] a = new int[] { 3};
-@@ -13,9 +20,35 @@
+@@ -14,9 +21,35 @@
private Item k;
private String l;
private int m;
@@ -50,7 +50,7 @@
public String getName() {
return this.hasCustomName() ? this.l : "container.brewing";
}
-@@ -46,9 +79,14 @@
+@@ -47,9 +80,14 @@
boolean flag = this.n();
boolean flag1 = this.brewTime > 0;
@@ -67,7 +67,7 @@
if (flag2 && flag) {
this.o();
-@@ -124,6 +162,15 @@
+@@ -125,6 +163,15 @@
private void o() {
ItemStack itemstack = this.items[3];
@@ -83,7 +83,7 @@
for (int i = 0; i < 3; ++i) {
this.items[i] = PotionBrewer.d(itemstack, this.items[i]);
-@@ -216,7 +263,7 @@
+@@ -221,7 +268,7 @@
}
public int getMaxStackSize() {