Skip to content

Commit

Permalink
fix: tabgui random nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl committed Jan 31, 2025
1 parent c33f110 commit a1e33b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ class TabGUI(x: Double = 16.87, y: Double = 152.00) : Element("TabGUI", x = x, y
private var itemY = 0F

init {
for (category in Category.entries.sortedBy { it.displayName }) {
for (category in Category.entries) {
val tab = Tab(category, category.displayName)

moduleManager.sortedBy { it.spacedName }.forEach { module ->
moduleManager.forEach { module ->
if (category == module.category) {
tab.modules += module
}
Expand Down

0 comments on commit a1e33b2

Please sign in to comment.