example mod pre_launch working
This commit is contained in:
parent
c42681f445
commit
df66596b5e
|
@ -16,6 +16,6 @@ breaks = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[nonsense.extensions]
|
[nonsense.extensions]
|
||||||
pre_launch = "org/ecorous/esnesnon/nonsense/loader/example/ExamplePreLaunchExtension"
|
pre_launch = "org.ecorous.esnesnon.nonsense.loader.example.ExamplePreLaunchExtension"
|
||||||
mixin_config = "example_mod.mixins.json"
|
mixin_config = "example_mod.mixins.json"
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ public class Launcher {
|
||||||
instance = this;
|
instance = this;
|
||||||
this.env = env;
|
this.env = env;
|
||||||
targetClassLoader = new MixinClassLoader();
|
targetClassLoader = new MixinClassLoader();
|
||||||
|
targetClassLoader.excludePackage("org.slf4j");
|
||||||
|
targetClassLoader.excludePackage("org.spongepowered");
|
||||||
targetClassLoader.excludePackage("org.apache.logging");
|
targetClassLoader.excludePackage("org.apache.logging");
|
||||||
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.impl.launch");
|
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.impl.launch");
|
||||||
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.api.env");
|
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.api.env");
|
||||||
|
|
Loading…
Reference in a new issue