From 4f25e7948c7e85151a80c17f7d2b25b72675cecf Mon Sep 17 00:00:00 2001 From: Appability Date: Fri, 21 Oct 2022 23:33:52 -0700 Subject: moving gui stuff (attempt 1) --- src/main/kotlin/com/ambientaddons/config/PersistentData.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/com/ambientaddons/config/PersistentData.kt') diff --git a/src/main/kotlin/com/ambientaddons/config/PersistentData.kt b/src/main/kotlin/com/ambientaddons/config/PersistentData.kt index 87bb287..9588e21 100644 --- a/src/main/kotlin/com/ambientaddons/config/PersistentData.kt +++ b/src/main/kotlin/com/ambientaddons/config/PersistentData.kt @@ -1,5 +1,6 @@ package com.ambientaddons.config +import com.ambientaddons.gui.GuiPosition import kotlinx.serialization.Serializable import kotlinx.serialization.json.Json import java.io.File @@ -23,7 +24,8 @@ data class PersistentData( "THUNDERLORD_7" to null, "WITHER_CHESTPLATE" to null, "ULTIMATE_ONE_FOR_ALL_1" to null - ) + ), + var positions: MutableMap = mutableMapOf() ) { fun save() { -- cgit