Fix blacklist action were not properly serialized
This commit is contained in:
parent
3aaa595d7b
commit
47feee8425
@ -40,6 +40,9 @@ open class DeleteAction(
|
||||
}
|
||||
|
||||
class BlacklistAction(id: Either<ResourceLocation, TagKey<Item>>) : DeleteAction(id) {
|
||||
override val type: Type<*>
|
||||
get() = Companion
|
||||
|
||||
companion object : Type<BlacklistAction> {
|
||||
override val codec: Codec<BlacklistAction> by lazy {
|
||||
RecordCodecBuilder.create {
|
||||
|
Loading…
Reference in New Issue
Block a user