From 60819c6693daf19dde68b04af38a4fee8c7da988 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Wed, 24 Oct 2012 22:53:23 -0500 Subject: Update CraftBukkit to Minecraft 1.4(.2). --- .../java/net/minecraft/server/TileEntityBrewingStand.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/java/net/minecraft/server/TileEntityBrewingStand.java') diff --git a/src/main/java/net/minecraft/server/TileEntityBrewingStand.java b/src/main/java/net/minecraft/server/TileEntityBrewingStand.java index 29c5d28a..2126950e 100644 --- a/src/main/java/net/minecraft/server/TileEntityBrewingStand.java +++ b/src/main/java/net/minecraft/server/TileEntityBrewingStand.java @@ -54,7 +54,7 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { if (this.brewTime > 0) { --this.brewTime; if (this.brewTime == 0) { - this.r(); + this.t(); this.update(); } else if (!this.k()) { this.brewTime = 0; @@ -78,7 +78,7 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { super.g(); } - public int t_() { + public int x_() { return this.brewTime; } @@ -86,7 +86,7 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { if (this.items[3] != null && this.items[3].count > 0) { ItemStack itemstack = this.items[3]; - if (!Item.byId[itemstack.id].u()) { + if (!Item.byId[itemstack.id].v()) { return false; } else { boolean flag = false; @@ -118,7 +118,7 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { } } - private void r() { + private void t() { if (this.k()) { ItemStack itemstack = this.items[3]; @@ -149,8 +149,8 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { } } - if (Item.byId[itemstack.id].r()) { - this.items[3] = new ItemStack(Item.byId[itemstack.id].q()); + if (Item.byId[itemstack.id].s()) { + this.items[3] = new ItemStack(Item.byId[itemstack.id].r()); } else { --this.items[3].count; if (this.items[3].count <= 0) { @@ -161,7 +161,7 @@ public class TileEntityBrewingStand extends TileEntity implements IInventory { } private int b(int i, ItemStack itemstack) { - return itemstack == null ? i : (Item.byId[itemstack.id].u() ? PotionBrewer.a(i, Item.byId[itemstack.id].t()) : i); + return itemstack == null ? i : (Item.byId[itemstack.id].v() ? PotionBrewer.a(i, Item.byId[itemstack.id].u()) : i); } public void a(NBTTagCompound nbttagcompound) { -- cgit v1.2.3