Skip to content

Commit

Permalink
Fix removal IDs < 500 being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
tterrag1098 committed Jul 12, 2014
1 parent dc9bd97 commit dfd1b67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/tterrag/rtc/TweakingRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ static boolean canRemoveRecipe(IRecipe r)
ItemStack output = r.getRecipeOutput();
if (output == null) return false;
HashSet<Integer> validMetas = recipesToRemove.get(output.itemID);
if (output.itemID < 500) return false;
if (validMetas == null) return false;
return validMetas.contains(-1) || validMetas.contains(output.getItemDamage());
}
Expand Down

0 comments on commit dfd1b67

Please sign in to comment.