mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-13 16:54:08 +00:00
Everything works again
This commit is contained in:
1 parent
c4ef06b027
commit
ff25ec619c
3 files changed
+7
-5
No files matched your search
@@ -3,6 +3,7 @@ package magicbees.main;
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemFood;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -251,7 +252,7 @@ public class Config {
|
||||
arsMagicaActive = p.getBoolean();
|
||||
|
||||
p = configuration.get(CATEGORY_MODULES, "BloodMagic", true);
|
||||
bloodMagicActive = p.getBoolean();
|
||||
bloodMagicActive = (Loader.isModLoaded("AWWayofTime"));
|
||||
|
||||
p = configuration.get(CATEGORY_MODULES, "EquivalentExchange", true);
|
||||
equivalentExchangeActive = p.getBoolean();
|
||||
@@ -486,7 +487,7 @@ public class Config {
|
||||
voidGrafter = new ItemVoidGrafter();
|
||||
GameRegistry.registerItem(voidGrafter, voidGrafter.getUnlocalizedName(), CommonProxy.DOMAIN);
|
||||
|
||||
if (BloodHelper.isActive()) {
|
||||
if (bloodMagicActive) {
|
||||
BloodHelper.getItems();
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ public class ModHelperManager {
|
||||
helpers.add(new RedstoneArsenalHelper());
|
||||
helpers.add(new BotaniaHelper());
|
||||
helpers.add(new AppliedEnergisticsHelper());
|
||||
helpers.add(new BloodHelper());
|
||||
// helpers.add(new BloodHelper());
|
||||
// Kuba, if you want this to be added to the helper list, you're going to have to be the one to fix it.
|
||||
}
|
||||
}
|
||||
@@ -443,7 +443,7 @@ public class ThaumcraftHelper implements IModHelper {
|
||||
new Object[] { " T", " s ", "s ", 's', Items.stick, 'T',
|
||||
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()) });
|
||||
|
||||
if (BloodHelper.isActive()) {
|
||||
if (Config.bloodMagicActive) {
|
||||
BloodHelper.thaumRecipes();
|
||||
}
|
||||
}
|
||||
@@ -690,7 +690,7 @@ public class ThaumcraftHelper implements IModHelper {
|
||||
new ResearchPage((IArcaneRecipe) visAuraProvider))
|
||||
.setParentsHidden("VISPOWER").registerResearchItem();
|
||||
|
||||
if (BloodHelper.isActive()) {
|
||||
if (Config.bloodMagicActive) {
|
||||
bloodFrame1 = new ResearchPage("bloodFrame.1");
|
||||
bloodFrame2 = new ResearchPage((IArcaneRecipe) bloodFrame);
|
||||
|
||||
|
||||
Reference in new issue
Block a user