aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core
diff options
context:
space:
mode:
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