diff --git a/src/commonMain/kotlin/NbtTagSerializers.kt b/src/commonMain/kotlin/NbtTagSerializers.kt index 1eac861e..76dc5b15 100644 --- a/src/commonMain/kotlin/NbtTagSerializers.kt +++ b/src/commonMain/kotlin/NbtTagSerializers.kt @@ -13,7 +13,7 @@ import kotlinx.serialization.encoding.Encoder internal object NbtTagSerializer : KSerializer { @OptIn(ExperimentalSerializationApi::class, InternalSerializationApi::class) override val descriptor: SerialDescriptor = - buildSerialDescriptor("net.benwoodworth.knbt.NbtByte", PolymorphicKind.SEALED) { + buildSerialDescriptor("net.benwoodworth.knbt.NbtTag", PolymorphicKind.SEALED) { // Resolve cyclic dependency in descriptors by late binding element("NbtByteSerializer", defer { NbtByteSerializer.descriptor }) element("NbtShortSerializer", defer { NbtShortSerializer.descriptor })