diff options
author | FalsePattern <me@falsepattern.com> | 2023-12-05 18:41:00 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2024-01-08 22:49:40 +0100 |
commit | a0dcf0ac417cd2c18ad44ae6bda4309c381a0f64 (patch) | |
tree | d7269fa14322a16d0f2648a494132969df48ce3f | |
parent | df8f71cbdbe6086b5d360413ff7103f285a77915 (diff) | |
download | Neodymium-a0dcf0ac417cd2c18ad44ae6bda4309c381a0f64.tar.gz Neodymium-a0dcf0ac417cd2c18ad44ae6bda4309c381a0f64.tar.bz2 Neodymium-a0dcf0ac417cd2c18ad44ae6bda4309c381a0f64.zip |
disable shaderpack disabling
-rw-r--r-- | src/main/java/makamys/neodymium/Compat.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main/java/makamys/neodymium/Compat.java b/src/main/java/makamys/neodymium/Compat.java index ba22265..acb76ca 100644 --- a/src/main/java/makamys/neodymium/Compat.java +++ b/src/main/java/makamys/neodymium/Compat.java @@ -57,20 +57,20 @@ public class Compat { warns.add(new Warning("Advanced OpenGL is enabled, performance may be poor." + (statusCommand ? " Click here to disable it." : "")).chatAction("neodymium disable_advanced_opengl")); } - try { - Class<?> shaders = Class.forName("shadersmod.client.Shaders"); - try { - String shaderPack = (String)shaders.getMethod("getShaderPackName").invoke(null); - if(shaderPack != null) { - criticalWarns.add(new Warning("A shader pack is enabled, this is not supported.")); - } - } catch(Exception e) { - LOGGER.warn("Failed to get shader pack name"); - e.printStackTrace(); - } - } catch (ClassNotFoundException e) { - - } +// try { +// Class<?> shaders = Class.forName("shadersmod.client.Shaders"); +// try { +// String shaderPack = (String)shaders.getMethod("getShaderPackName").invoke(null); +// if(shaderPack != null) { +// criticalWarns.add(new Warning("A shader pack is enabled, this is not supported.")); +// } +// } catch(Exception e) { +// LOGGER.warn("Failed to get shader pack name"); +// e.printStackTrace(); +// } +// } catch (ClassNotFoundException e) { +// +// } if(!isGL33Supported) { criticalWarns.add(new Warning("OpenGL 3.3 is not supported.")); |