Skip to content

Commit 625ad4d

Browse files
committed
Update LambdaMoji.kt
1 parent 8a10a94 commit 625ad4d

File tree

1 file changed

+2
-2
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/client

1 file changed

+2
-2
lines changed

common/src/main/kotlin/com/lambda/module/modules/client/LambdaMoji.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package com.lambda.module.modules.client
1919

2020
import com.lambda.event.events.RenderEvent
21-
import com.lambda.event.listener.SafeListener.Companion.listener
21+
import com.lambda.event.listener.SafeListener.Companion.listen
2222
import com.lambda.gui.api.RenderLayer
2323
import com.lambda.module.Module
2424
import com.lambda.module.tag.ModuleTag
@@ -37,7 +37,7 @@ object LambdaMoji : Module(
3737
private val renderQueue = mutableListOf<Pair<String, Vec2d>>()
3838

3939
init {
40-
listener<RenderEvent.GUI.Scaled> {
40+
listen<RenderEvent.GUI.Scaled> {
4141
renderQueue.forEach { (text, position) ->
4242
renderer.font.build(text, position, scale = scale)
4343
}

0 commit comments

Comments
 (0)