Exclude (seasonal) carnival warp from auto warps
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user