Skip to content

Commit

Permalink
Fix #272
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Dec 29, 2024
1 parent 4de71b4 commit cbea500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AmbienceClientWorldMixin {
if (ambientCondition.predicate().shouldPlay(client.world, client.player.getBlockPos(), client.player)) {
boolean allow = true;
for (TickableSoundInstance tickingSound : client.getSoundManager().soundSystem.tickingSounds) {
if (tickingSound.getId().equals(ambientCondition.event().getId())) {
if (tickingSound != null && tickingSound.getId().equals(ambientCondition.event().getId())) {
allow = false;
break;
}
Expand Down

0 comments on commit cbea500

Please sign in to comment.