From f4fc50b3c508fe091c49a1bdb376d355038e0b04 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 18 Apr 2012 19:34:08 -0700 Subject: [PATCH] Fixed shift-clicking issue with items that utilized the new ItemStack sensitive smelting system. --- .../net/minecraft/src/ContainerFurnace.java.patch | 11 +++++++++++ .../net/minecraft/src/ContainerFurnace.java.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 forge/patches/minecraft/net/minecraft/src/ContainerFurnace.java.patch create mode 100644 forge/patches/minecraft_server/net/minecraft/src/ContainerFurnace.java.patch diff --git a/forge/patches/minecraft/net/minecraft/src/ContainerFurnace.java.patch b/forge/patches/minecraft/net/minecraft/src/ContainerFurnace.java.patch new file mode 100644 index 000000000..e5c448f45 --- /dev/null +++ b/forge/patches/minecraft/net/minecraft/src/ContainerFurnace.java.patch @@ -0,0 +1,11 @@ +--- ../src_base/minecraft/net/minecraft/src/ContainerFurnace.java 0000-00-00 00:00:00.000000000 -0000 ++++ ../src_work/minecraft/net/minecraft/src/ContainerFurnace.java 0000-00-00 00:00:00.000000000 -0000 +@@ -108,7 +108,7 @@ + } + else if (par1 != 1 && par1 != 0) + { +- if (FurnaceRecipes.smelting().getSmeltingResult(var4.getItem().shiftedIndex) != null) ++ if (FurnaceRecipes.smelting().getSmeltingResult(var4) != null) + { + if (!this.mergeItemStack(var4, 0, 1, false)) + { diff --git a/forge/patches/minecraft_server/net/minecraft/src/ContainerFurnace.java.patch b/forge/patches/minecraft_server/net/minecraft/src/ContainerFurnace.java.patch new file mode 100644 index 000000000..cf5c14f6b --- /dev/null +++ b/forge/patches/minecraft_server/net/minecraft/src/ContainerFurnace.java.patch @@ -0,0 +1,11 @@ +--- ../src_base/minecraft_server/net/minecraft/src/ContainerFurnace.java 0000-00-00 00:00:00.000000000 -0000 ++++ ../src_work/minecraft_server/net/minecraft/src/ContainerFurnace.java 0000-00-00 00:00:00.000000000 -0000 +@@ -98,7 +98,7 @@ + } + else if (par1 != 1 && par1 != 0) + { +- if (FurnaceRecipes.smelting().getSmeltingResult(var4.getItem().shiftedIndex) != null) ++ if (FurnaceRecipes.smelting().getSmeltingResult(var4) != null) + { + if (!this.mergeItemStack(var4, 0, 1, false)) + {