mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
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:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user