GS 0.2+ crash fix

This commit is contained in:
FalsePattern committed 2022-09-04 10:24:57 +02:00
1 parent bdf73dd29a
commit ea95bac048
3 files changed
+93 -32

No files matched your search

@@ -79,6 +79,11 @@ public final class MixinInfo {
} catch (ClassNotFoundException ignored) {
return MixinBootstrapperType.None;
}
try {
Class.forName("com.falsepattern.gasstation.core.GasStationCore");
return MixinBootstrapperType.GasStation;
} catch (ClassNotFoundException ignored) {
}
try {
Class.forName("ru.timeconqueror.spongemixins.core.SpongeMixinsCore");
return MixinBootstrapperType.SpongeMixins;
@@ -106,6 +111,7 @@ public final class MixinInfo {
@StableAPI(since = "0.10.2")
public enum MixinBootstrapperType {
@StableAPI.Expose None,
@StableAPI.Expose(since = "0.10.9") GasStation,
@StableAPI.Expose SpongeMixins,
@StableAPI.Expose Grimoire,
@StableAPI.Expose MixinBooterLegacy,