Skip to content

Commit

Permalink
Fixed a bug where the play keybind could stack songs
Browse files Browse the repository at this point in the history
  • Loading branch information
AliahX committed Jun 9, 2023
1 parent 3dfe449 commit 9918e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/aliahx/mixtape/Mixtape.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void onInitializeClient() {
if(config.mainConfig.playKeybindReplacesCurrentSong) {
MinecraftClient.getInstance().getSoundManager().stopSounds(null, MUSIC);
} else {
if(MinecraftClient.getInstance().getMusicTracker().isPlayingType(MinecraftClient.getInstance().getMusicType())) {
if(Mixtape.debugTimeUntilNextSong == Mixtape.debugMaxTimeUntilNextSong) {
return;
}
}
Expand Down

0 comments on commit 9918e59

Please sign in to comment.