Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean isRuntimeDeobfuscated()
- {
- try
- {
- Class c = CoreModManager.class;
- Field field = c.getDeclaredField( "deobfuscatedEnvironment" );
- field.setAccessible( true );
- return !field.getBoolean( null );
- }
- catch ( Exception exception )
- {
- exception.printStackTrace();
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement