aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-07-26 23:59:24 +0200
committernea <nea@nea.moe>2023-07-26 23:59:24 +0200
commitd4b254ea11798a8ba4b891d31c433496b7c53bb3 (patch)
treefb94f03b5d3c5f1f25e5d9c9e94ecd85588f8ccb /src/main/kotlin/moe/nea/firmament/features
parent3375907c44704b968f06ac996cb389c4e29b3826 (diff)
downloadFirmament-d4b254ea11798a8ba4b891d31c433496b7c53bb3.tar.gz
Firmament-d4b254ea11798a8ba4b891d31c433496b7c53bb3.tar.bz2
Firmament-d4b254ea11798a8ba4b891d31c433496b7c53bb3.zip
Fix storage not saving properly
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageData.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageData.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageData.kt
index 1c2ac08..00714ab 100644
--- a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageData.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageData.kt
@@ -1,7 +1,10 @@
+@file:UseSerializers(SortedMapSerializer::class)
package moe.nea.firmament.features.inventory.storageoverlay
import java.util.SortedMap
import kotlinx.serialization.Serializable
+import kotlinx.serialization.UseSerializers
+import moe.nea.firmament.util.SortedMapSerializer
@Serializable
data class StorageData(