mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +00:00
#433 Fix andesite/granite recipes not checking for disabled features
This commit is contained in:
1 parent
f181ff19f5
commit
67f1341ed4
1 file changed
+6
-2
@@ -139,7 +139,9 @@ public enum Features {
|
||||
|
||||
@Override
|
||||
void addRecipes() {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(andesite, 2), diorite, "cobblestone"));
|
||||
if (DIORITE.enabled()) {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(andesite, 2), diorite, "cobblestone"));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1060,7 +1062,9 @@ public enum Features {
|
||||
|
||||
@Override
|
||||
void addRecipes() {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(granite, diorite, "gemQuartz"));
|
||||
if (DIORITE.enabled()) {
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(granite, diorite, "gemQuartz"));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user