mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 08:02:13 +00:00
Reduce bootstrap spoopiness
This commit is contained in:
1 parent
039d1f6d0b
commit
ec0c7a1d3a
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -50,7 +50,7 @@ public class MixinServiceLaunchWrapperBootstrap implements IMixinServiceBootstra
|
||||
}
|
||||
|
||||
@Override
|
||||
public void boostrap() {
|
||||
public void bootstrap() {
|
||||
// Essential ones
|
||||
Launch.classLoader.addClassLoaderExclusion(MixinServiceLaunchWrapperBootstrap.SERVICE_PACKAGE);
|
||||
|
||||
|
||||
@@ -44,6 +44,6 @@ public interface IMixinServiceBootstrap {
|
||||
/**
|
||||
* Run bootstrap-time preparation for the underlying service
|
||||
*/
|
||||
public abstract void boostrap();
|
||||
public abstract void bootstrap();
|
||||
|
||||
}
|
||||
@@ -76,7 +76,7 @@ public final class MixinService {
|
||||
this.bootstrapServiceLoader = ServiceLoader.<IMixinServiceBootstrap>load(IMixinServiceBootstrap.class, this.getClass().getClassLoader());
|
||||
for (IMixinServiceBootstrap bootService : this.bootstrapServiceLoader) {
|
||||
try {
|
||||
bootService.boostrap();
|
||||
bootService.bootstrap();
|
||||
this.bootedServices.add(bootService.getServiceClassName());
|
||||
} catch (Throwable th) {
|
||||
MixinService.logger.catching(th);
|
||||
|
||||
Reference in new issue
Block a user