From 3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 5 Jul 2024 22:17:02 +0200 Subject: Port to 1.21 --- src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt') diff --git a/src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt b/src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt index 10e9249..d2d9881 100644 --- a/src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt +++ b/src/main/kotlin/moe/nea/firmament/util/CommonSoundEffects.kt @@ -17,7 +17,7 @@ object CommonSoundEffects { } fun playFailure() { - playSound(Identifier("minecraft", "block.anvil.place")) + playSound(Identifier.of("minecraft", "block.anvil.place")) } fun playSuccess() { @@ -25,6 +25,6 @@ object CommonSoundEffects { } fun playDing() { - playSound(Identifier("minecraft", "entity.arrow.hit_player")) + playSound(Identifier.of("minecraft", "entity.arrow.hit_player")) } } -- cgit