Skip to content

Commit

Permalink
Remove debug keybind behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
NotRyken committed Jan 18, 2025
1 parent b3a430e commit 8b5eaec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import com.github.scotsguy.nowplaying.config.Config;
import com.github.scotsguy.nowplaying.gui.toast.NowPlayingToast;
import com.github.scotsguy.nowplaying.mixin.accessor.GuiAccessor;
import com.github.scotsguy.nowplaying.mixin.accessor.MinecraftAccessor;
import com.github.scotsguy.nowplaying.util.ModLogger;
import com.github.scotsguy.nowplaying.sound.SpriteProvider;
import com.mojang.blaze3d.platform.InputConstants;
Expand Down Expand Up @@ -60,9 +59,7 @@ public static void init() {

public static void onEndTick(Minecraft mc) {
while (DISPLAY_KEY.consumeClick()) {
// displayLastMusic();
((MinecraftAccessor)mc).getMusicManager().stopPlaying();
((MinecraftAccessor)mc).getMusicManager().startPlaying(mc.getSituationalMusic());
displayLastMusic();
}
}

Expand Down

This file was deleted.

3 changes: 1 addition & 2 deletions common/src/main/resources/now-playing.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"MixinLevelRenderer",
"MixinMinecraft",
"MixinToastInstance",
"accessor.GuiAccessor",
"accessor.MinecraftAccessor"
"accessor.GuiAccessor"
],
"server": [
],
Expand Down

0 comments on commit 8b5eaec

Please sign in to comment.