mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-19 03:49:13 +00:00
Revert "Add GT version checks to avoid crash with GT6"
This reverts commit 0c4239c954.
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -131,6 +131,7 @@ import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import gregtech.api.enums.Materials;
|
||||
import magicbees.item.types.CombType;
|
||||
import magicbees.item.types.DropType;
|
||||
@@ -261,7 +262,7 @@ public class BeeProductHelper {
|
||||
}
|
||||
|
||||
public static void initOreDictSProducts() {
|
||||
boolean isGTLoaded = Config.isGTLoaded;
|
||||
boolean isGTLoaded = Loader.isModLoaded("gregtech");
|
||||
SILVER.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
|
||||
if (OreDictionary.getOres("nuggetSilver").size() > 0) {
|
||||
SILVER.addSpecialty(
|
||||
|
||||
@@ -164,8 +164,7 @@ public class Config {
|
||||
public static Configuration configuration;
|
||||
|
||||
// ---- Loaded mods -----------------------------------------
|
||||
public static boolean isGTLoaded = Loader.isModLoaded("gregtech")
|
||||
&& !Loader.instance().getIndexedModList().get("gregtech").getVersion().startsWith("GT6");
|
||||
public static boolean isGTLoaded = Loader.isModLoaded("gregtech");
|
||||
|
||||
public Config(File configFile) {
|
||||
configuration = new Configuration(configFile);
|
||||
|
||||
Reference in new issue
Block a user