diff --git a/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt b/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt index 3575b71..1295ee6 100644 --- a/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt +++ b/common/src/main/kotlin/quaedam/projection/misc/SoundProjection.kt @@ -58,12 +58,14 @@ 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) } diff --git a/common/src/main/resources/assets/quaedam/lang/zh_cn.json b/common/src/main/resources/assets/quaedam/lang/zh_cn.json index a5119a6..15389a5 100644 --- a/common/src/main/resources/assets/quaedam/lang/zh_cn.json +++ b/common/src/main/resources/assets/quaedam/lang/zh_cn.json @@ -44,5 +44,5 @@ "advancements.quaedam.swarm_projection.title": "太多人了", "advancements.quaedam.swarm_projection.description": "制作人群投影", "advancements.quaedam.kill_projected_person.title": "走开", - "advancements.quaedam.kill_projected_person.description": "杀死一个投影人\n\n你为什么要这样做呢?\n这是不好的。", + "advancements.quaedam.kill_projected_person.description": "杀死一个投影人\n\n你为什么要这样做呢?\n这是不好的。" }