diff options
author | Linnea Gräf <nea@nea.moe> | 2024-08-04 21:10:08 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-08-04 21:10:08 +0200 |
commit | 9b277bd897490d13ee4549a086e8d1b5f4cd0e10 (patch) | |
tree | 8f966a8f5b981cb700becb337e43970eb0619fcc /src/main/kotlin/moe/nea/firmament/features/inventory | |
parent | 95c1b75a14d41b070c4e23addb3ac4788a014365 (diff) | |
download | Firmament-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.kt | 3 |
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 } |