Exclude (seasonal) carnival warp from auto warps

This commit is contained in:
Linnea Gräf
2024-09-02 18:50:01 +02:00
parent 20db57b43c
commit 2d936ea4a2

View File

@@ -16,7 +16,11 @@ import moe.nea.firmament.repo.RepoManager
import moe.nea.firmament.util.data.ProfileSpecificDataHolder import moe.nea.firmament.util.data.ProfileSpecificDataHolder
object WarpUtil { object WarpUtil {
val warps: List<Islands.Warp> get() = RepoManager.neuRepo.constants.islands.warps val warps: Sequence<Islands.Warp> get() = RepoManager.neuRepo.constants.islands.warps
.asSequence()
.filter { it.warp !in ignoredWarps }
val ignoredWarps = setOf("carnival", "")
@Serializable @Serializable
data class Data( data class Data(