aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/inventory/SlotLocking.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-09-28 19:48:11 +0200
committerLinnea Gräf <nea@nea.moe>2025-10-13 18:26:42 +0200
commit9b6c8f21f86385c993c0e34ba4b31348cae200cd (patch)
treed310ffaf3e98af40c64d9895771026dd7ee4c56d /src/main/kotlin/features/inventory/SlotLocking.kt
parente8a42a056cb0209f8bbeb35dd74f42e5c2d8bd62 (diff)
downloadFirmament-9b6c8f21f86385c993c0e34ba4b31348cae200cd.tar.gz
Firmament-9b6c8f21f86385c993c0e34ba4b31348cae200cd.tar.bz2
Firmament-9b6c8f21f86385c993c0e34ba4b31348cae200cd.zip
fix: improve config backups
Diffstat (limited to 'src/main/kotlin/features/inventory/SlotLocking.kt')
-rw-r--r--src/main/kotlin/features/inventory/SlotLocking.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/features/inventory/SlotLocking.kt b/src/main/kotlin/features/inventory/SlotLocking.kt
index bae6a5e..903b184 100644
--- a/src/main/kotlin/features/inventory/SlotLocking.kt
+++ b/src/main/kotlin/features/inventory/SlotLocking.kt
@@ -79,9 +79,9 @@ object SlotLocking {
val currentWorldData
get() = if (SBData.skyblockLocation == SkyBlockIsland.RIFT)
- DConfig.data?.rift
+ DConfig.data.rift
else
- DConfig.data?.overworld
+ DConfig.data.overworld
@Serializable
data class BoundSlot(