From a575f183b40d962a65d5fedc49bf0619827df537 Mon Sep 17 00:00:00 2001 From: xtex Date: Sat, 29 Jul 2023 15:55:04 +0800 Subject: [PATCH] fix: noise projection serialization --- .../src/main/kotlin/quaedam/projection/misc/NoiseProjection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/quaedam/projection/misc/NoiseProjection.kt b/common/src/main/kotlin/quaedam/projection/misc/NoiseProjection.kt index e2b15ad..daeeb77 100644 --- a/common/src/main/kotlin/quaedam/projection/misc/NoiseProjection.kt +++ b/common/src/main/kotlin/quaedam/projection/misc/NoiseProjection.kt @@ -104,7 +104,7 @@ data class NoiseProjectionEffect(var rate: Int = 10, var amount: Int = 3) : Proj } override val type - get() = SoundProjection.effect.get()!! + get() = NoiseProjection.effect.get()!! override fun toNbt(tag: CompoundTag) { tag.putInt(TAG_RATE, rate)