From 9cf62e419108baaad0d58a42271c470d98ca636c Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Fri, 23 Aug 2024 15:53:07 -0400 Subject: [PATCH] fix: Use correct serializer on ActionEnvironment --- .../mineinabyss/geary/actions/event_binds/EntityObservers.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/geary-actions/src/commonMain/kotlin/com/mineinabyss/geary/actions/event_binds/EntityObservers.kt b/addons/geary-actions/src/commonMain/kotlin/com/mineinabyss/geary/actions/event_binds/EntityObservers.kt index ca5224a5..e92a9d4c 100644 --- a/addons/geary-actions/src/commonMain/kotlin/com/mineinabyss/geary/actions/event_binds/EntityObservers.kt +++ b/addons/geary-actions/src/commonMain/kotlin/com/mineinabyss/geary/actions/event_binds/EntityObservers.kt @@ -63,7 +63,7 @@ class ActionOnFail(val action: ActionGroup) { @Serializable value class ActionLoop(val expression: String) -@Serializable +@Serializable(with = ActionEnvironment.Serializer::class) class ActionEnvironment(val environment: Map>) { object Serializer : InnerSerializer>, ActionEnvironment>( serialName = "geary:with",