Fix MC-111753 (#3655)

This commit is contained in:
Vincent Lee authored and LexManos committed 2017-01-24 10:29:43 -08:00
1 parent 7598d18a50
commit ba875418fd
1 file changed
+1 -1
@@ -51,7 +51,7 @@
{
Item item = p_94041_2_.func_77973_b();
- return p_94041_1_ == 4 ? item == Items.field_151065_br : (item == Items.field_151068_bn || item == Items.field_185155_bH || item == Items.field_185156_bI || item == Items.field_151069_bo) && this.func_70301_a(p_94041_1_) == ItemStack.field_190927_a;
+ return p_94041_1_ == 4 ? item == Items.field_151065_br : net.minecraftforge.common.brewing.BrewingRecipeRegistry.isValidInput(p_94041_2_) && this.func_70301_a(p_94041_1_) == ItemStack.field_190927_a;
+ return p_94041_1_ == 4 ? item == Items.field_151065_br : net.minecraftforge.common.brewing.BrewingRecipeRegistry.isValidInput(p_94041_2_) && this.func_70301_a(p_94041_1_).func_190926_b(); // FORGE - Fix MC-111753 Identity comparing with ItemStack.EMPTY
}
}