mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Make the @Optional removals stricter.
Require IC2, BC or CoFHCore to be loaded in order to use their respective APIs. Remove all the individual mod deps to prevent us depending on mods that depend on us.
This commit is contained in:
1 parent
9db789674a
commit
71a9bfc4f9
18 files changed
+85
-106
No files matched your search
@@ -1158,16 +1158,6 @@ public final class MekanismUtils
|
||||
return "error";
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not BuildCraft power should be used, taking into account whether it is installed or another mod is
|
||||
* providing its API.
|
||||
* @return if BuildCraft power should be used
|
||||
*/
|
||||
public static boolean useBuildCraft()
|
||||
{
|
||||
return Mekanism.hooks.BuildCraftPowerLoaded && !general.blacklistBC;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not IC2 power should be used, taking into account whether or not it is installed or another mod is
|
||||
* providing its API.
|
||||
@@ -1185,7 +1175,7 @@ public final class MekanismUtils
|
||||
*/
|
||||
public static boolean useRF()
|
||||
{
|
||||
return Mekanism.hooks.RedstoneFluxLoaded && !general.blacklistRF;
|
||||
return Mekanism.hooks.CoFHCoreLoaded && !general.blacklistRF;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user