mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-11-26 06:53:11 +00:00
Fix merge problem
This commit is contained in:
1 parent
717e124321
commit
fcf6c7e405
1 file changed
+2
-4
@@ -23,6 +23,7 @@ public class ModHelper {
|
||||
|
||||
private static final boolean isTConInstalled;
|
||||
private static final boolean isAvaritiaInstalled;
|
||||
private static final boolean isGregTechInstalled;
|
||||
private static final boolean isAE2Installed;
|
||||
|
||||
public static boolean isGTNHLibLoaded;
|
||||
@@ -36,6 +37,7 @@ public class ModHelper {
|
||||
static {
|
||||
isTConInstalled = Loader.isModLoaded("TConstruct");
|
||||
isAvaritiaInstalled = Loader.isModLoaded("Avaritia");
|
||||
isGregTechInstalled = Loader.isModLoaded("gregtech_nh");
|
||||
isAE2Installed = Loader.isModLoaded("appliedenergistics2");
|
||||
isGTNHLibLoaded = Loader.isModLoaded("gtnhlib");
|
||||
isHodgepodgeLoaded = Loader.isModLoaded("hodgepodge");
|
||||
@@ -90,10 +92,6 @@ public class ModHelper {
|
||||
return event.ammount;
|
||||
}
|
||||
|
||||
public static boolean isGregTechTileEntityOre(TileEntity te) {
|
||||
return isGregTechInstalled && GTores.isInstance(te) || isBartworkdsInstalled && bwores.isInstance(te);
|
||||
}
|
||||
|
||||
public static boolean isGregTechEnchantmentItem(ItemStack stack) {
|
||||
if (stack == null) return false;
|
||||
if (stack.getItem() == null) return false;
|
||||
|
||||
Reference in new issue
Block a user