aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/Neodymium.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/Neodymium.java')
-rw-r--r--src/main/java/makamys/neodymium/Neodymium.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/java/makamys/neodymium/Neodymium.java b/src/main/java/makamys/neodymium/Neodymium.java
index ce2f8eb..d47d03a 100644
--- a/src/main/java/makamys/neodymium/Neodymium.java
+++ b/src/main/java/makamys/neodymium/Neodymium.java
@@ -42,9 +42,6 @@ public class Neodymium
public static NeoRenderer renderer;
- public static boolean ofFastRender;
- private static Method ofIsFastRenderMethod;
-
@EventHandler
public void preInit(FMLConstructionEvent event) {
MCLib.init();
@@ -122,18 +119,6 @@ public class Neodymium
if(!Config.enabled) return;
if(event.phase == TickEvent.Phase.START) {
- if(OFUtil.isOptiFinePresent()) {
- try {
- if(ofIsFastRenderMethod == null) {
- ofIsFastRenderMethod = Class.forName("Config").getMethod("isFastRender");
- }
- ofFastRender = (boolean)ofIsFastRenderMethod.invoke(null);
- } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException
- | SecurityException | ClassNotFoundException e) {
- // oops
- }
- }
-
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
World world = player != null ? player.worldObj : null;
if(world != getRendererWorld()) {