aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-12-18 14:23:05 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-12-18 14:23:05 +1000
commitf0b0ced99b15884fd485129c1fb231c04eaa9e42 (patch)
tree0d1a0ec3e9ee24530eaa0b5f85eb5d0f58af7b5e /src/Java/gtPlusPlus/core
parentb24a09c6a2684be77aa7ee5e1255409051249fe0 (diff)
downloadGT5-Unofficial-f0b0ced99b15884fd485129c1fb231c04eaa9e42.tar.gz
GT5-Unofficial-f0b0ced99b15884fd485129c1fb231c04eaa9e42.tar.bz2
GT5-Unofficial-f0b0ced99b15884fd485129c1fb231c04eaa9e42.zip
+ Added some safety handling to Bee generation since they will not generate in older versions of Forestry.
% Made all of Growthcraft support reflective.
Diffstat (limited to 'src/Java/gtPlusPlus/core')
-rw-r--r--src/Java/gtPlusPlus/core/lib/CORE.java4
-rw-r--r--src/Java/gtPlusPlus/core/proxy/ClientProxy.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/core/lib/CORE.java b/src/Java/gtPlusPlus/core/lib/CORE.java
index 11ed154d5a..2fb3dd42b4 100644
--- a/src/Java/gtPlusPlus/core/lib/CORE.java
+++ b/src/Java/gtPlusPlus/core/lib/CORE.java
@@ -10,8 +10,6 @@ import java.util.concurrent.ConcurrentHashMap;
import com.mojang.authlib.GameProfile;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
import gregtech.api.GregTech_API;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.array.Pair;
@@ -46,8 +44,6 @@ public class CORE {
public static boolean DEVENV = false;
public static boolean DEBUG = false;
- @SideOnly(Side.CLIENT)
- public static boolean mFancyGraphics = false;
//Only can be set in Dev, no config or setting elsewhere.
public static final boolean LOAD_ALL_CONTENT = false;;
diff --git a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java
index 448188379a..b7525e2863 100644
--- a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java
+++ b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java
@@ -37,9 +37,13 @@ public class ClientProxy extends CommonProxy implements Runnable{
private final HashSet<String> mCapeList = new HashSet<String>();
private final GTPP_CapeRenderer mCapeRenderer;
+ @SideOnly(Side.CLIENT)
+ public static boolean mFancyGraphics = false;
public ClientProxy(){
mCapeRenderer = new GTPP_CapeRenderer(mCapeList);
+ //Get Graphics Mode.
+ mFancyGraphics = Minecraft.isFancyGraphicsEnabled();
}
@SubscribeEvent