diff options
author | syeyoung <cyong06@naver.com> | 2020-12-24 11:15:04 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2020-12-24 11:15:04 +0900 |
commit | 4bf3172187396e9eedb852a887f98d7eb276f459 (patch) | |
tree | f5ff2ad06d8fe4e04aac3a4a176af55413d8652a /src/main/java/kr/syeyoung/dungeonsguide/a.java | |
parent | 8a2635e8d7c7b47eb9236f89cd4cc0ab851f4da1 (diff) | |
download | Skyblock-Dungeons-Guide-4bf3172187396e9eedb852a887f98d7eb276f459.tar.gz Skyblock-Dungeons-Guide-4bf3172187396e9eedb852a887f98d7eb276f459.tar.bz2 Skyblock-Dungeons-Guide-4bf3172187396e9eedb852a887f98d7eb276f459.zip |
toggles
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/a.java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/a.java | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/a.java b/src/main/java/kr/syeyoung/dungeonsguide/a.java index 2ce0e96c..23875cb7 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/a.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/a.java @@ -40,77 +40,77 @@ public class a d.init(a); } - @EventHandler - public void a(FMLPreInitializationEvent a) { - b b = new b(); - String c = null; - try { - c = b.b(); - if (c != null) { - this.a = this; - URL.setURLStreamHandlerFactory(new c(b)); - LaunchClassLoader d = (LaunchClassLoader) a.class.getClassLoader(); - d.addURL(new URL("z:///")); - - try { - this.d = new e(b); - this.d.pre(a); - } catch (Exception e) { - e.printStackTrace(); - - a(new String[]{ - "Couldn't load Dungeons Guide", - "Please contact developer if this problem persists after restart" - }); - } - return; - } - } catch (IOException e) { - e.printStackTrace(); - } catch (AuthenticationException e) { - e.printStackTrace(); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - } catch (NoSuchPaddingException e) { - e.printStackTrace(); - } catch (InvalidKeyException e) { - e.printStackTrace(); - } catch (InvalidAlgorithmParameterException e) { - e.printStackTrace(); - } catch (IllegalBlockSizeException e) { - e.printStackTrace(); - } catch (BadPaddingException e) { - e.printStackTrace(); - } catch (CertificateException e) { - e.printStackTrace(); - } catch (KeyStoreException e) { - e.printStackTrace(); - } catch (KeyManagementException e) { - e.printStackTrace(); - } - - a(new String[]{ - "Can't validate current installation of Dungeons Guide", - "Steps to fix", - "1. check if other people can't join minecraft servers.", - "2. restart minecraft launcher", - "3. make sure you're on the right account", - "4. restart your computer", - "If the problem persists after following these steps, please contact developer", - "If you haven't purchased the mod, please consider doing so" - }); - } // @EventHandler -// public void pre(FMLPreInitializationEvent event) { -// a = this; -// URL.setURLStreamHandlerFactory(new c(null)); +// public void a(FMLPreInitializationEvent a) { +// b b = new b(); +// String c = null; +// try { +// c = b.b(); +// if (c != null) { +// this.a = this; +// URL.setURLStreamHandlerFactory(new c(b)); +// LaunchClassLoader d = (LaunchClassLoader) a.class.getClassLoader(); +// d.addURL(new URL("z:///")); +// // try { -// d = new e(null); -// d.pre(event); +// this.d = new e(b); +// this.d.pre(a); // } catch (Exception e) { // e.printStackTrace(); +// +// a(new String[]{ +// "Couldn't load Dungeons Guide", +// "Please contact developer if this problem persists after restart" +// }); // } +// return; +// } +// } catch (IOException e) { +// e.printStackTrace(); +// } catch (AuthenticationException e) { +// e.printStackTrace(); +// } catch (NoSuchAlgorithmException e) { +// e.printStackTrace(); +// } catch (NoSuchPaddingException e) { +// e.printStackTrace(); +// } catch (InvalidKeyException e) { +// e.printStackTrace(); +// } catch (InvalidAlgorithmParameterException e) { +// e.printStackTrace(); +// } catch (IllegalBlockSizeException e) { +// e.printStackTrace(); +// } catch (BadPaddingException e) { +// e.printStackTrace(); +// } catch (CertificateException e) { +// e.printStackTrace(); +// } catch (KeyStoreException e) { +// e.printStackTrace(); +// } catch (KeyManagementException e) { +// e.printStackTrace(); +// } +// +// a(new String[]{ +// "Can't validate current installation of Dungeons Guide", +// "Steps to fix", +// "1. check if other people can't join minecraft servers.", +// "2. restart minecraft launcher", +// "3. make sure you're on the right account", +// "4. restart your computer", +// "If the problem persists after following these steps, please contact developer", +// "If you haven't purchased the mod, please consider doing so" +// }); // } + @EventHandler + public void pre(FMLPreInitializationEvent event) { + a = this; + URL.setURLStreamHandlerFactory(new c(null)); + try { + d = new e(null); + d.pre(event); + } catch (Exception e) { + e.printStackTrace(); + } + } public void a(final String[] a) { final GuiScreen b = new GuiErrorScreen(null, null) { |