Skip to content

Commit

Permalink
Fix Nether ambience engine breaking
Browse files Browse the repository at this point in the history
SECOND TIME committing this, let's hope it stays committed this time instead of un-committing itself when I stop looking
  • Loading branch information
Roadhog360 committed Dec 13, 2023
1 parent 5a0de05 commit ff0660e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ public void onClientTick(ClientTickEvent event) {
handleNetherAmbienceLoop();
prevAmbientBiome = currentBiome;
}
} else {
netherAmbienceLoop = null;
}

if (ConfigFunctions.enableGamemodeSwitcher && Keyboard.isCreated() && Keyboard.isKeyDown(Keyboard.KEY_F3) && Keyboard.isKeyDown(Keyboard.KEY_F4)) {
Expand All @@ -214,8 +216,6 @@ public void onClientTick(ClientTickEvent event) {

if (mc.currentScreen == null && currPage > -1) {
currPage = -1;
} else {
netherAmbienceLoop = null;
}
}

Expand Down

0 comments on commit ff0660e

Please sign in to comment.