Merge pull request #168 from Voidi/master

fix #117: Railcraft Coke oven recipe remove;
This commit is contained in:
Jared 2015-06-30 22:48:47 +02:00
commit e84eb65fb6

View file

@ -92,7 +92,7 @@ public class CokeOven {
@Override
public void apply() {
for (ICokeOvenRecipe r : RailcraftHelper.oven) {
if (r.getOutput() != null && r.getOutput().getItem().equals(stack)) {
if (r.getOutput() != null && r.getOutput().isItemEqual(stack) && ItemStack.areItemStackTagsEqual(r.getOutput(), stack)) {
recipes.add(r);
}
}