From f794f9848bc42fba3a385837c853058644efd83d Mon Sep 17 00:00:00 2001 From: xtex Date: Thu, 10 Aug 2023 22:22:40 +0800 Subject: [PATCH] fix: remove debug log --- .../src/main/kotlin/quaedam/projection/misc/SoundProjection.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt b/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt index 1295ee6..3575b71 100644 --- a/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt +++ b/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt @@ -58,14 +58,12 @@ data class SoundProjectionEffect(var rate: Int = 60, var volume: Float = 1.0f) : override fun toNbt(tag: CompoundTag) { tag.putInt(TAG_RATE, rate) - println("save $volume") tag.putFloat(TAG_VOLUME, volume) } override fun fromNbt(tag: CompoundTag, trusted: Boolean) { rate = tag.getInt(TAG_RATE) volume = tag.getFloat(TAG_VOLUME) - println("load $volume") if (!trusted) { rate = min(rate, maxRate) }