From 6d3ec813ed1ae0d9e365f25c17cf4dfa9996a7e4 Mon Sep 17 00:00:00 2001 From: Spigot Date: Sat, 2 Mar 2013 09:05:30 +1100 Subject: [PATCH] Pull CraftBukkit #1024 by @evilmidget38 - Correct the CB object used for Brewing Stands. Fixes BUKKIT-3357 By: md_5 --- ...CB-object-for-ContainerBrewingStand..patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 CraftBukkit-Patches/0033-Use-the-correct-CB-object-for-ContainerBrewingStand..patch diff --git a/CraftBukkit-Patches/0033-Use-the-correct-CB-object-for-ContainerBrewingStand..patch b/CraftBukkit-Patches/0033-Use-the-correct-CB-object-for-ContainerBrewingStand..patch new file mode 100644 index 0000000000..0d127d3e33 --- /dev/null +++ b/CraftBukkit-Patches/0033-Use-the-correct-CB-object-for-ContainerBrewingStand..patch @@ -0,0 +1,35 @@ +From 430be099c8edaae4a11f1ede38fc9f22a8c5967f Mon Sep 17 00:00:00 2001 +From: Nate Mortensen +Date: Fri, 8 Feb 2013 19:22:22 -0700 +Subject: [PATCH] Use the correct CB object for ContainerBrewingStand. Fixes + BUKKIT-3357. + +--- + src/main/java/net/minecraft/server/ContainerBrewingStand.java | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/main/java/net/minecraft/server/ContainerBrewingStand.java b/src/main/java/net/minecraft/server/ContainerBrewingStand.java +index 3bfa802..3411dbb 100644 +--- a/src/main/java/net/minecraft/server/ContainerBrewingStand.java ++++ b/src/main/java/net/minecraft/server/ContainerBrewingStand.java +@@ -1,7 +1,7 @@ + package net.minecraft.server; + + // CraftBukkit start +-import org.bukkit.craftbukkit.inventory.CraftInventory; ++import org.bukkit.craftbukkit.inventory.CraftInventoryBrewer; + import org.bukkit.craftbukkit.inventory.CraftInventoryView; + // CraftBukkit end + +@@ -118,7 +118,7 @@ public class ContainerBrewingStand extends Container { + return bukkitEntity; + } + +- CraftInventory inventory = new CraftInventory(this.brewingStand); ++ CraftInventoryBrewer inventory = new CraftInventoryBrewer(this.brewingStand); + bukkitEntity = new CraftInventoryView(this.player.player.getBukkitEntity(), inventory, this); + return bukkitEntity; + } +-- +1.8.1-rc2 +