aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features/inventory
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-08-04 21:10:08 +0200
committerLinnea Gräf <nea@nea.moe>2024-08-04 21:10:08 +0200
commit9b277bd897490d13ee4549a086e8d1b5f4cd0e10 (patch)
tree8f966a8f5b981cb700becb337e43970eb0619fcc /src/main/kotlin/moe/nea/firmament/features/inventory
parent95c1b75a14d41b070c4e23addb3ac4788a014365 (diff)
downloadFirmament-9b277bd897490d13ee4549a086e8d1b5f4cd0e10.tar.gz
Firmament-9b277bd897490d13ee4549a086e8d1b5f4cd0e10.tar.bz2
Firmament-9b277bd897490d13ee4549a086e8d1b5f4cd0e10.zip
Add SkyBlockIsland type
[no changelog]
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/inventory')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/SlotLocking.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/SlotLocking.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/SlotLocking.kt
index fbae4bf..14814e7 100644
--- a/src/main/kotlin/moe/nea/firmament/features/inventory/SlotLocking.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/inventory/SlotLocking.kt
@@ -31,6 +31,7 @@ import moe.nea.firmament.mixins.accessor.AccessorHandledScreen
import moe.nea.firmament.util.CommonSoundEffects
import moe.nea.firmament.util.MC
import moe.nea.firmament.util.SBData
+import moe.nea.firmament.util.SkyBlockIsland
import moe.nea.firmament.util.data.ProfileSpecificDataHolder
import moe.nea.firmament.util.item.displayNameAccordingToNbt
import moe.nea.firmament.util.item.loreAccordingToNbt
@@ -66,7 +67,7 @@ object SlotLocking : FirmamentFeature {
val lockedSlots
get() = when (SBData.skyblockLocation) {
- "rift" -> DConfig.data?.lockedSlotsRift
+ SkyBlockIsland.RIFT -> DConfig.data?.lockedSlotsRift
null -> null
else -> DConfig.data?.lockedSlots
}