diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-06-30 11:54:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 11:54:52 +0200 |
commit | 8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e (patch) | |
tree | 0af5845280784c7053401258800f26c9bc9f189c /src/main/java/at/hannibal2/skyhanni/utils/repopatterns | |
parent | 19606e3e9eda872c7f8036197213026d1326db45 (diff) | |
download | skyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.tar.gz skyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.tar.bz2 skyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.zip |
Feature: Scrolling pages (#2164)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/repopatterns')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt index 2ec62fd3f..8f55a8b1f 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt @@ -213,6 +213,11 @@ object RepoPatternManager { arrayPattern.wasOverridden = false } + if (localLoading) { + setDefaultPatterns() + return + } + if (patternMap.mapTo(mutableSetOf()) { it.first } != patternMap.indices.toSet()) { logger.error("Incorrect index set for $arrayPattern") setDefaultPatterns() |