File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
deploaderStub/java/com/falsepattern/deploader
main/java/com/falsepattern/lib/internal/asm Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 4545import java .util .jar .JarFile ;
4646import java .util .jar .JarInputStream ;
4747
48- public final class Stub {
48+ public final class DeploaderStub {
4949 private static final String BLACKBOARD_MARKER = "FPLIB_DEPLOADER" ;
5050 private static final String BLACKBOARD_RUN_DEPLOADER_MARKER = "FPLIB_RUN_DEPLOADER" ;
5151 private static boolean rfbDetected = false ;
@@ -61,7 +61,7 @@ public static void bootstrap(boolean rfb) {
6161 if (deploader != null ) {
6262 return ;
6363 }
64- Stub scanner = new Stub ();
64+ DeploaderStub scanner = new DeploaderStub ();
6565 @ SuppressWarnings ("resource" )
6666 URLClassLoader cl = classLoader ();
6767 for (URL url : cl .getURLs ()) {
@@ -169,7 +169,7 @@ public static void runDepLoader() {
169169 try {
170170 ((Method )runDepLoader ).invoke (null );
171171 } catch (IllegalAccessException | InvocationTargetException e ) {
172- throw new RuntimeException ("Could not run FalsePatternLib deploader! " , e );
172+ throw new RuntimeException ("FalsePatternLib Deploader exited with an exception. " , e );
173173 }
174174 }
175175
Original file line number Diff line number Diff line change 2121 */
2222package com .falsepattern .lib .internal .asm ;
2323
24- import com .falsepattern .deploader .Stub ;
24+ import com .falsepattern .deploader .DeploaderStub ;
2525import com .falsepattern .lib .internal .FPLog ;
2626import com .falsepattern .lib .internal .Tags ;
2727import com .falsepattern .lib .internal .logging .CrashImprover ;
@@ -55,7 +55,7 @@ public class CoreLoadingPlugin implements IFMLLoadingPlugin {
5555 private static boolean obfuscated ;
5656
5757 static {
58- Stub .bootstrap (false );
58+ DeploaderStub .bootstrap (false );
5959 FPLog .LOG .info ("Removing skill issues..." );
6060 try {
6161 Class .forName ("thermos.Thermos" );
@@ -66,7 +66,7 @@ public class CoreLoadingPlugin implements IFMLLoadingPlugin {
6666 //Scan for dependencies now
6767 FPLog .LOG .info ("Scanning for deps..." );
6868 long start = System .nanoTime ();
69- Stub .runDepLoader ();
69+ DeploaderStub .runDepLoader ();
7070 long end = System .nanoTime ();
7171 FPLog .LOG .info ("Scanned in " + (end - start ) / 1000000 + "ms" );
7272 //Initializing the rest
Original file line number Diff line number Diff line change 2222
2323package com .falsepattern .lib .internal .asm ;
2424
25- import com .falsepattern .deploader .Stub ;
25+ import com .falsepattern .deploader .DeploaderStub ;
2626import com .gtnewhorizons .retrofuturabootstrap .RfbApiImpl ;
2727import com .gtnewhorizons .retrofuturabootstrap .api .RfbPlugin ;
2828import lombok .val ;
@@ -43,7 +43,7 @@ public class RFBLoadingPlugin implements RfbPlugin {
4343 exc .invoke (loader , "com.falsepattern.lib.internal.config.EarlyConfig" );
4444 exc .invoke (loader , "com.falsepattern.lib.internal.core.LowLevelCallMultiplexer" );
4545 } catch (Exception ignored ) {}
46- Stub .bootstrap (true );
47- Stub .runDepLoader ();
46+ DeploaderStub .bootstrap (true );
47+ DeploaderStub .runDepLoader ();
4848 }
4949}
You can’t perform that action at this time.
0 commit comments