mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 02:55:19 +00:00
Bugfixes and Modularization
Fixed several crashes due to ThermalExpansion splitting into Thermal Foundation. Also added config options to disable modinteraction with other mods.
This commit is contained in:
1 parent
2b0b729ad0
commit
580f1f4e12
15 files changed
+185
-65
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package magicbees.main.utils.compat;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import magicbees.main.Config;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
@@ -102,7 +104,7 @@ public class ExtraBeesHelper
|
||||
|
||||
public static void preInit()
|
||||
{
|
||||
if (cpw.mods.fml.common.Loader.isModLoaded("ExtraBees"))
|
||||
if (Loader.isModLoaded("ExtraBees") && Config.ExtraBeesActive)
|
||||
{
|
||||
isEBPresent = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user