code cleanup

This commit is contained in:
FalsePattern committed 2022-08-21 10:20:40 +02:00
1 parent 2ed360b26c
commit 9bcab6eb1a
4 files changed
+9 -14

No files matched your search

@@ -76,22 +76,18 @@ public final class MixinInfo {
try {
Class.forName("io.github.tox1cozz.mixinbooterlegacy.MixinBooterLegacyPlugin");
return MixinBootstrapperType.MixinBooterLegacy;
} catch (ClassNotFoundException ignored) {}
} catch (ClassNotFoundException ignored) {
}
return MixinBootstrapperType.Other;
}
@StableAPI(since = "0.10.2")
public enum MixinBootstrapperType {
@StableAPI.Expose
None,
@StableAPI.Expose
SpongeMixins,
@StableAPI.Expose
Grimoire,
@StableAPI.Expose
MixinBooterLegacy,
@StableAPI.Expose
Other
@StableAPI.Expose None,
@StableAPI.Expose SpongeMixins,
@StableAPI.Expose Grimoire,
@StableAPI.Expose MixinBooterLegacy,
@StableAPI.Expose Other
}
}