mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fixes comparison for items in creative inventory, closes #411
This commit is contained in:
1 parent
ace8c29085
commit
dcdd7c6c0e
1 file changed
+9
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user