Skip to content

Commit

Permalink
1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfudge committed Sep 22, 2023
1 parent b8f51c0 commit c134111
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public void init() {

@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
this.renderBackground(context);
this.renderBackground(context, mouseX, mouseY, delta);
this.list.render(context, mouseX, mouseY, delta);
context.drawCenteredTextWithShadow(textRenderer, title, width / 2, 15, 0xFFFFFF);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void init() {

@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
renderBackground(context);
renderBackground(context, mouseX, mouseY, delta);
context.drawCenteredTextWithShadow(textRenderer, NecLocalization.localize("notenoughcrashes.crashscreen.title"), width / 2, height / 4 - 40, 0xFFFFFF);

int textColor = 0xD0D0D0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void init() {

@Override
public void render(DrawContext context, int mouseX, int i, float f) {
renderBackground(context);
renderBackground(context, mouseX, i, f);
context.drawCenteredTextWithShadow(textRenderer, NecLocalization.localize("notenoughcrashes.initerrorscreen.title"), width / 2, height / 4 - 40, 0xFFFFFF);

context.drawTextWithShadow(textRenderer, NecLocalization.localize("notenoughcrashes.initerrorscreen.summary"), x, y, TEXT_COLOR);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ private static void displayCrashScreen(CrashReport report, int crashCount, boole

// Vanilla does this when switching to main menu but not our custom crash screen
// nor the out of memory screen (see https://bugs.mojang.com/browse/MC-128953)
getClient().options.debugEnabled = false;
getClient().inGameHud.getChatHud().clear(true);

// Display the crash screen
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ shadow = "7.1.2"
task_tree = "2.1.0"

# Minecraft
minecraft = "1.20.1"
minecraft = "1.20.2"

# CurseForge & Modrinth MC overrides (or "mc" to use the main version)
overrides_curseforge = "mc"
overrides_modrinth = "mc"
release_type = "release"

# Mods & Libraries
yarn_mappings = "1.20.1+build.2"
fabric_loader = "0.14.21"
fabric_api = "0.83.1+1.20.1"
yarn_mappings = "1.20.2+build.1"
fabric_loader = "0.14.22"
fabric_api = "0.89.1+1.20.2"
quilt_loader = "0.17.6"
forge = "47.0.1"
forge = "48.0.1"
architectury_api = "9.0.8"

[libraries]
Expand Down

0 comments on commit c134111

Please sign in to comment.