mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-18 21:59:15 +00:00
GS 0.2+ crash fix
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user