mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-16 20:01:42 +01:00
Remove unneeded hacky fix for log recipes from e927aa69
This commit is contained in:
parent
6c6af33eaf
commit
df40a6323e
@ -209,25 +209,6 @@ public class ModuleAutoCrafting extends Module {
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: Check if below this is redundant code - Could not craft chest with other planks anyway ~-~
|
||||
|
||||
// adding broken recipe for wood planks
|
||||
// final String toType = toCraft.getType().name();
|
||||
// if (toType.endsWith("_PLANKS")) {
|
||||
// boolean fromLog = false;
|
||||
// for (SimpleRecipe recipe : recipes.recipes) {
|
||||
// if (recipe.recipe.length == 1 && recipe.recipe[0].getType().name().endsWith("_LOG")) {
|
||||
// fromLog = true;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// if (!fromLog) {
|
||||
// Material log = Material.getMaterial(toType.substring(0, toType.length() - 6) + "LOG");
|
||||
// if (log != null)
|
||||
// recipes.addRecipe(Collections.singletonList(new ItemStack(log)), new ItemStack(toCraft.getType(), 4));
|
||||
// }
|
||||
// }
|
||||
|
||||
cachedRecipes.put(toCraft, recipes);
|
||||
}
|
||||
return recipes;
|
||||
|
Loading…
Reference in New Issue
Block a user