Commit 48da29aa1891f2c02f0e90c4dee8dd36151e8699
1 parent
cffaacc6
commit missing update to spawnBootstrap, closes #64
Showing
1 changed file
with
2 additions
and
2 deletions
java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
| ... | ... | @@ -488,10 +488,10 @@ public class LiteLoaderTweaker implements ITweaker |
| 488 | 488 | { |
| 489 | 489 | @SuppressWarnings("unchecked") |
| 490 | 490 | Class<? extends LoaderBootstrap> bootstrapClass = (Class<? extends LoaderBootstrap>)Class.forName(bootstrapClassName, false, classLoader); |
| 491 | - Constructor<? extends LoaderBootstrap> bootstrapCtor = bootstrapClass.getDeclaredConstructor(StartupEnvironment.class); | |
| 491 | + Constructor<? extends LoaderBootstrap> bootstrapCtor = bootstrapClass.getDeclaredConstructor(StartupEnvironment.class, ITweaker.class); | |
| 492 | 492 | bootstrapCtor.setAccessible(true); |
| 493 | 493 | |
| 494 | - return bootstrapCtor.newInstance(this.env); | |
| 494 | + return bootstrapCtor.newInstance(this.env, this); | |
| 495 | 495 | } |
| 496 | 496 | catch (Throwable th) |
| 497 | 497 | { | ... | ... |