mirror of
https://github.com/GTNewHorizons/BetterCrashes.git
synced 2026-11-27 15:23:16 +00:00
Use finish instead of pause on load crash (#2)
* Use finish instead of pause on load crash * Fix version
This commit is contained in:
1 parent
96dbab660d
commit
d983cb9e80
3 files changed
+8
-7
No files matched your search
+2
-2
@@ -33,7 +33,7 @@ developmentEnvironmentUserName = Developer
|
||||
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
|
||||
# version in @Mod([...], version = VERSION, [...])
|
||||
# Leave these properties empty to skip individual token replacements
|
||||
replaceGradleTokenInFile = Tags.java
|
||||
replaceGradleTokenInFile = BetterCrashes.java
|
||||
gradleTokenModId = GRADLETOKEN_MODID
|
||||
gradleTokenModName = GRADLETOKEN_MODNAME
|
||||
gradleTokenVersion = GRADLETOKEN_VERSION
|
||||
@@ -76,4 +76,4 @@ usesShadowedDependencies = false
|
||||
#customArchiveBaseName =
|
||||
|
||||
# Optional parameter to prevent the source code from being published
|
||||
# noPublishedSources =
|
||||
# noPublishedSources =
|
||||
@@ -10,9 +10,10 @@ import org.apache.logging.log4j.Logger;
|
||||
name = BetterCrashes.NAME,
|
||||
dependencies = BetterCrashes.DEPENDENCIES)
|
||||
public class BetterCrashes {
|
||||
public static final String MODID = "bettercrashes";
|
||||
public static final String NAME = "BetterCrashes";
|
||||
public static final String VERSION = "@VERSION@";
|
||||
|
||||
public static final String MODID = "GRADLETOKEN_MODID";
|
||||
public static final String NAME = "GRADLETOKEN_MODNAME";
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
public static final String DEPENDENCIES = "";
|
||||
public static final Logger logger = LogManager.getLogger("BetterCrashes");
|
||||
public static final Logger logger = LogManager.getLogger(NAME);
|
||||
}
|
||||
@@ -315,7 +315,7 @@ public abstract class MinecraftMixin {
|
||||
running = true;
|
||||
try {
|
||||
//noinspection deprecation
|
||||
SplashProgress.pause(); // Disable the forge splash progress screen
|
||||
SplashProgress.finish(); // Disable the forge splash progress screen
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
runGUILoop(new GuiInitErrorScreen(report));
|
||||
|
||||
Reference in new issue
Block a user