fix: noise projection serialization

This commit is contained in:
xtex 2023-07-29 15:55:04 +08:00
parent 46c304931d
commit a575f183b4
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -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)