From 47feee8425ac61fd89d83a40db7c40b0cbe856b9 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 19 Jul 2023 17:06:39 +0700 Subject: [PATCH] Fix blacklist action were not properly serialized --- src/main/kotlin/ru/dbotthepony/mc/otm/matter/DeleteAction.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/DeleteAction.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/DeleteAction.kt index f208c3bfc..f1b91b715 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/DeleteAction.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/DeleteAction.kt @@ -40,6 +40,9 @@ open class DeleteAction( } class BlacklistAction(id: Either>) : DeleteAction(id) { + override val type: Type<*> + get() = Companion + companion object : Type { override val codec: Codec by lazy { RecordCodecBuilder.create {