diff options
Diffstat (limited to 'nms-patches/ContainerBrewingStand.patch')
-rw-r--r-- | nms-patches/ContainerBrewingStand.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/ContainerBrewingStand.patch b/nms-patches/ContainerBrewingStand.patch index 98ae5c5e..dc38c122 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,6 +1,10 @@ +@@ -1,5 +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 { -@@ -9,7 +13,13 @@ + private final IInventory brewingStand; +@@ -7,7 +12,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))); -@@ -56,6 +66,7 @@ +@@ -54,6 +65,7 @@ } public boolean a(EntityHuman entityhuman) { @@ -33,8 +33,8 @@ return this.brewingStand.a(entityhuman); } -@@ -185,4 +196,17 @@ - } +@@ -181,4 +193,17 @@ + return item == Items.POTION || item == Items.SPLASH_POTION || item == Items.LINGERING_POTION || item == Items.GLASS_BOTTLE; } } + |