aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 12:24:37 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 12:24:37 +0200
commit020bd7ec2c4250a5787f805b7961cc7af99d70a1 (patch)
tree438759f91392b842d33e1fcd284068374e09d02e /src/main/java/at/hannibal2/skyhanni
parent1a99b231bd77a8765b1e1f29f2e2759c6351f6ed (diff)
downloadskyhanni-020bd7ec2c4250a5787f805b7961cc7af99d70a1.tar.gz
skyhanni-020bd7ec2c4250a5787f805b7961cc7af99d70a1.tar.bz2
skyhanni-020bd7ec2c4250a5787f805b7961cc7af99d70a1.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternGui.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternGui.kt b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternGui.kt
index 6f5b90172..1981440fd 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternGui.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternGui.kt
@@ -7,7 +7,6 @@ import io.github.notenoughupdates.moulconfig.gui.GuiContext
import io.github.notenoughupdates.moulconfig.observer.ObservableList
import io.github.notenoughupdates.moulconfig.xml.Bind
import io.github.notenoughupdates.moulconfig.xml.XMLUniverse
-import net.minecraft.client.Minecraft
/**
* Gui for analyzing [RepoPattern]s
@@ -33,7 +32,6 @@ class RepoPatternGui private constructor() {
var search: String = ""
private var lastSearch = null as String?
private val allKeys = RepoPatternManager.allPatterns
- .toList()
.sortedBy { it.key }
.map { RepoPatternInfo(it) }
private var searchCache = ObservableList(mutableListOf<RepoPatternInfo>())