Skip to content

Commit

Permalink
4.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfudge committed Aug 5, 2023
1 parent daa1fd3 commit b8f51c0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## 4.4.5
- Fixed a crash in Fabric with certain mods
## 4.4.4
### 4.4.6
- Fixed quit button not have the correct text in some cases.
- Crash initialization screen is now disabled when Sodium is installed.
### 4.4.5
- Fixed a crash in Fabric with certain mods.
### 4.4.4
- Cleaned up some more things when the game crashes.
## 4.4.3
### 4.4.3
- Updated Chinese translations
## 4.4.1
### 4.4.1
- Fixed gibrish text sometimes showing in the crash screen.
- Added Ukrainian translations (thanks @PetroTornados!).
- Fixed incorrect tab ordering in the config screen.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ public static boolean enableGameloopCatching() {
}

public static boolean enableEntrypointCatching() {
return NecConfig.getCurrent().catchInitializationCrashes() && !NecPlatform.instance().irisExists();
return NecConfig.getCurrent().catchInitializationCrashes() && !NecPlatform.instance().irisExists()
// Sodium insists on crashing when windows are used before it is initialized
&& !NecPlatform.instance().isModLoaded("sodium");
}

public static CommonModMetadata getMetadata() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.gui.widget.ButtonWidget;
import net.minecraft.text.Text;
import net.minecraft.util.crash.CrashReport;

@Environment(EnvType.CLIENT)
Expand All @@ -25,7 +26,7 @@ public InitErrorScreen(CrashReport report) {
public void init() {
super.init();

ButtonWidget exitButton = ButtonWidget.builder(NecLocalization.translatedText("menu.quit"),
ButtonWidget exitButton = ButtonWidget.builder(Text.translatable("menu.quit"),
button -> {
System.exit(-1);
}).dimensions(width / 2 - 155, height / 4 + 120 + 12, 150, 20).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"notenoughcrashes.midnightconfig.disableReturnToMainMenu": "Disable Return To Main Menu",
"notenoughcrashes.midnightconfig.catchInitializationCrashesComment1": "(Fabric Only) If false, the game will close normally when it fails to initialize,",
"notenoughcrashes.midnightconfig.catchInitializationCrashesComment2": "and will not display a special crash screen.",
"notenoughcrashes.midnightconfig.catchInitializationCrashesComment3": "This will be always disabled (even if the config is set to true) when Iris is installed.",
"notenoughcrashes.midnightconfig.catchInitializationCrashesComment3": "This will be always disabled (even if true) when certain mods are installed.",
"notenoughcrashes.midnightconfig.catchInitializationCrashes": "Catch Initialization Crashes",
"notenoughcrashes.midnightconfig.debugModIdentificationComment": "If true, additional info will be logged for the mod developer.",
"notenoughcrashes.midnightconfig.debugModIdentification": "Debug Mod Identification",
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task_tree = { id = "com.dorongold.task-tree", version.ref = "task_tree" }
[versions]

# This Mod Version
mod_version = "4.4.5"
mod_version = "4.4.6"

# Gradle Plugins
architectury_plugin = "3.4-SNAPSHOT"
Expand All @@ -30,7 +30,7 @@ minecraft = "1.20.1"
# CurseForge & Modrinth MC overrides (or "mc" to use the main version)
overrides_curseforge = "mc"
overrides_modrinth = "mc"
release_type = "beta"
release_type = "release"

# Mods & Libraries
yarn_mappings = "1.20.1+build.2"
Expand Down

0 comments on commit b8f51c0

Please sign in to comment.