Fixes comparison for items in creative inventory, closes #411

This commit is contained in:
LexManos 2013-02-15 04:43:20 -08:00
parent ace8c29085
commit dcdd7c6c0e

View file

@ -9,6 +9,15 @@
public GuiContainerCreative(EntityPlayer par1EntityPlayer)
{
@@ -137,7 +139,7 @@
return;
}
- if (var7 != null && var8 != null && var7.isItemEqual(var8))
+ if (var7 != null && var8 != null && var7.isItemEqual(var8) && ItemStack.areItemStackTagsEqual(var7, var8))
{
if (par3 == 0)
{
@@ -229,6 +231,13 @@
this.setCurrentCreativeTab(CreativeTabs.creativeTabArray[var1]);
this.field_82324_x = new CreativeCrafting(this.mc);