fix more renames
This commit is contained in:
parent
a62114b201
commit
f197ebca4b
|
@ -19,7 +19,7 @@ breaks = [
|
|||
]
|
||||
|
||||
[frog.extensions]
|
||||
pre_launch = "example.org.ecorous.frogmc.frogloader.ExamplePreLaunchExtension"
|
||||
pre_launch = "org.ecorous.frogmc.frogloader.example.ExamplePreLaunchExtension"
|
||||
mixin_config = "example_mod.mixins.json"
|
||||
frog_aw = "example_mod.accesswidener"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.spongepowered.asm.mixin.MixinEnvironment;
|
|||
public class LoaderImpl implements Loader {
|
||||
// TODO decide this
|
||||
public static final String MOD_FILE_EXTENSION = ".frogmod";
|
||||
private final boolean DEV_ENV = Boolean.getBoolean("nonsense.development");
|
||||
private final boolean DEV_ENV = Boolean.getBoolean("frogmc.development");
|
||||
|
||||
@Getter
|
||||
private final String[] args;
|
||||
|
|
|
@ -40,8 +40,8 @@ public class Launcher {
|
|||
targetClassLoader.excludePackage("org.slf4j");
|
||||
targetClassLoader.excludePackage("org.spongepowered");
|
||||
targetClassLoader.excludePackage("org.apache.logging");
|
||||
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.impl.launch");
|
||||
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.api.env");
|
||||
targetClassLoader.excludePackage("org.ecorous.frogmc.frogloader.impl.launch");
|
||||
targetClassLoader.excludePackage("org.ecorous.frogmc.frogloader.api.env");
|
||||
|
||||
Thread.currentThread().setContextClassLoader(targetClassLoader);
|
||||
|
||||
|
@ -49,7 +49,7 @@ public class Launcher {
|
|||
MixinBootstrap.init();
|
||||
|
||||
try {
|
||||
Class<?> clazz = targetClassLoader.findClass("impl.org.ecorous.frogmc.frogloader.LoaderImpl");
|
||||
Class<?> clazz = targetClassLoader.findClass("org.ecorous.frogmc.frogloader.impl.LoaderImpl");
|
||||
MethodHandle ctor = MethodHandles.publicLookup().findStatic(clazz, "run", MethodType.methodType(void.class, String[].class, Env.class));
|
||||
ctor.invoke(args, env);
|
||||
} catch (Throwable e) {
|
||||
|
|
Loading…
Reference in a new issue