Skip to content

Commit

Permalink
fix(splits): pkw dojo splits not starting
Browse files Browse the repository at this point in the history
  • Loading branch information
AsoDesu committed Jan 6, 2025
1 parent 1cac1e0 commit 4754d22
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import net.asodev.islandutils.modules.cosmetics.CosmeticState;
import net.asodev.islandutils.modules.music.MusicManager;
import net.asodev.islandutils.modules.splits.LevelTimer;
import net.asodev.islandutils.modules.splits.SplitManager;
import net.asodev.islandutils.options.IslandOptions;
import net.asodev.islandutils.state.Game;
import net.asodev.islandutils.state.MccIslandState;
Expand Down Expand Up @@ -77,6 +78,7 @@ public void handleCustomSoundEvent(ClientboundSoundPacket clientboundCustomSound
MusicManager.onMusicSoundPacket(clientboundCustomSoundPacket, this.minecraft);
ci.cancel();
}
LevelTimer.onSound(clientboundCustomSoundPacket);
}

@Inject(method = "handleStopSoundEvent", at = @At(value = "INVOKE", target = "Lnet/minecraft/network/protocol/PacketUtils;ensureRunningOnSameThread(Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/PacketListener;Lnet/minecraft/util/thread/BlockableEventLoop;)V", shift = At.Shift.AFTER), cancellable = true)
Expand Down

0 comments on commit 4754d22

Please sign in to comment.