File tree Expand file tree Collapse file tree
common/src/main/kotlin/com/lambda/gui/impl/clickgui/windows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ package com.lambda.gui.impl.clickgui.windows
22
33import com.lambda.gui.api.GuiEvent
44import com.lambda.gui.api.component.ListWindow
5- import com.lambda.gui.api.component.WindowComponent
65import com.lambda.gui.impl.clickgui.AbstractClickGui
76import com.lambda.gui.impl.clickgui.buttons.ModuleButton
8- import com.lambda.module.modules.client.ClickGui
97
108abstract class ModuleWindow (
119 override var title : String ,
@@ -15,12 +13,8 @@ abstract class ModuleWindow(
1513) : ListWindow<ModuleButton>(owner) {
1614 override fun onEvent (e : GuiEvent ) {
1715 if (e is GuiEvent .Tick ) {
18- contentComponents.children.apply {
19- sortBy {
20- it.module.name
21- }
22-
23-
16+ contentComponents.children.sortBy {
17+ it.module.name
2418 }
2519 }
2620
You can’t perform that action at this time.
0 commit comments