Fixed shift-clicking issue with items that utilized the new ItemStack sensitive smelting system.
This commit is contained in:
parent
23ffbb774f
commit
f4fc50b3c5
2 changed files with 22 additions and 0 deletions
|
@ -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))
|
||||||
|
{
|
|
@ -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))
|
||||||
|
{
|
Loading…
Reference in a new issue