Merge remote-tracking branch 'origin/1.16' into 1.18
This commit is contained in:
commit
012ed17208
|
|
@ -96,4 +96,9 @@ public class ModernFixPlatformHooks {
|
|||
public static void onLaunchComplete() {
|
||||
|
||||
}
|
||||
|
||||
@ExpectPlatform
|
||||
public static String getPlatformName() {
|
||||
throw new AssertionError();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,4 +118,8 @@ public class ModernFixPlatformHooksImpl {
|
|||
CommonModUtil.runWithoutCrash(() -> SparkLaunchProfiler.stop("launch"), "Failed to stop profiler");
|
||||
}
|
||||
}
|
||||
|
||||
public static String getPlatformName() {
|
||||
return "Fabric";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,4 +180,8 @@ public class ModernFixPlatformHooksImpl {
|
|||
CommonModUtil.runWithoutCrash(() -> SparkLaunchProfiler.stop("launch"), "Failed to stop profiler");
|
||||
}
|
||||
}
|
||||
|
||||
public static String getPlatformName() {
|
||||
return "Forge";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user