From d36f1a64f6c6699d73258a652c47c049c2bde14f Mon Sep 17 00:00:00 2001 From: AliahX Date: Tue, 20 Jun 2023 17:30:34 +1200 Subject: [PATCH] Fix a bug where creative music plays in survival if you're in an overworld biome with specific music --- .../com/aliahx/mixtape/mixin/PositionedSoundInstanceMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/aliahx/mixtape/mixin/PositionedSoundInstanceMixin.java b/src/main/java/com/aliahx/mixtape/mixin/PositionedSoundInstanceMixin.java index 20fa610..f78e374 100644 --- a/src/main/java/com/aliahx/mixtape/mixin/PositionedSoundInstanceMixin.java +++ b/src/main/java/com/aliahx/mixtape/mixin/PositionedSoundInstanceMixin.java @@ -59,7 +59,7 @@ private static void musicMixin(SoundEvent sound, CallbackInfoReturnable SoundEvents.MUSIC_UNDER_WATER.value(); }; - if(config.gameConfig.creativeMusicPlaysInSurvival && (sound.getId().toString().equals("minecraft:music.game")) || sound.getId().toString().contains("minecraft:music.overworld.")) { + if(config.gameConfig.creativeMusicPlaysInSurvival && (sound.getId().toString().equals("minecraft:music.game") || sound.getId().toString().contains("minecraft:music.overworld."))) { sound = SoundEvents.MUSIC_CREATIVE.value(); }