We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a516060 commit 9ba36c9Copy full SHA for 9ba36c9
common/src/main/kotlin/com/lambda/module/modules/client/NewCGui.kt
@@ -39,9 +39,9 @@ object NewCGui : Module(
39
val windowPosition = Vec2d.ONE * 20.0 + Vec2d.RIGHT * ((115.0 * i) + (i + 1) * 4)
40
41
moduleWindow(tag, windowPosition) {
42
- val tagModules = modules.filter { it.defaultTags.first() == tag }
43
-
44
- tagModules.forEach { module ->
+ modules.filter {
+ it.defaultTags.firstOrNull() == tag
+ }.forEach { module ->
45
moduleLayout(module)
46
}
47
0 commit comments