Fixes item duplication issue

Excludes blocks from grinder ball bonuses.

Other mods added recipes to crush metal blocks into 9 dust, resulting in
duplication when used in the sag mill with grinding balls.
This commit is contained in:
Dwargkiller committed 2015-04-07 01:00:17 +02:00
1 parent b480cbdc79
commit b16d5cc04f
1 file changed
+1 -1
@@ -64,7 +64,7 @@ public class CrusherRecipeManager {
int id = OreDictionary.getOreID(input.item);
if(id >= 0) {
String name = OreDictionary.getOreName(id);
if(name.startsWith("ingot")) {
if(name.startsWith("ingot") || name.startsWith("block")) {
addExcludedStack(input.item);
return true;
}