mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Move Silicon Checks
This commit is contained in:
1 parent
d4f0f9ee18
commit
3155541cdf
2 files changed
+3
-2
No files matched your search
@@ -1496,7 +1496,8 @@ public class Mekanism
|
||||
if (MekanismConfig.mekce.enableSiliconCompat)
|
||||
{
|
||||
if (Loader.isModLoaded("EnderIO") || Loader.isModLoaded("GalacticraftCore") || Loader.isModLoaded("ProjRed|Core")) {
|
||||
isSiliconLoaded = true;
|
||||
if (OreDictionary.doesOreNameExist("itemSilicon") || OreDictionary.doesOreNameExist("silicon"))
|
||||
isSiliconLoaded = true;
|
||||
}
|
||||
}
|
||||
//Integrate certain OreDictionary recipes
|
||||
|
||||
@@ -195,7 +195,7 @@ public final class OreDictManager
|
||||
}));
|
||||
}
|
||||
|
||||
if (Mekanism.isSiliconLoaded && (OreDictionary.doesOreNameExist("itemSilicon") || OreDictionary.doesOreNameExist("silicon"))) {
|
||||
if (Mekanism.isSiliconLoaded) {
|
||||
List<String> siliconCompat = Arrays.asList("itemSilicon", "silicon");
|
||||
for (String s : siliconCompat) {
|
||||
for (ItemStack ore : OreDictionary.getOres(s)) {
|
||||
|
||||
Reference in new issue
Block a user