1
1
package com.lambda.client.gui.mc
2
2
3
- import com.lambda.client.module.modules.combat.AutoLog
3
+ import com.lambda.client.module.modules.combat.AutoDisconnect
4
4
import com.lambda.client.util.threads.mainScope
5
5
import kotlinx.coroutines.delay
6
6
import kotlinx.coroutines.launch
@@ -15,22 +15,22 @@ class LambdaGuiDisconnected(private val reason: Array<String>, private val scree
15
15
16
16
buttonList.add(GuiButton (0 , width / 2 - 100 , 200 , " Okay" ))
17
17
if (! disable) {
18
- buttonList.add(GuiButton (1 , width / 2 - 100 , 220 , " Disable AutoLog " ))
18
+ buttonList.add(GuiButton (1 , width / 2 - 100 , 220 , " Disable AutoDisconnect " ))
19
19
} else {
20
20
disable()
21
21
}
22
22
}
23
23
24
24
override fun drawScreen (mouseX : Int , mouseY : Int , partialTicks : Float ) {
25
25
drawBackground(0 )
26
- drawCenteredString(fontRenderer, " [AutoLog ] Logged because:" , width / 2 , 80 , 0x9B90FF )
26
+ drawCenteredString(fontRenderer, " [AutoDisconnect ] Logged because:" , width / 2 , 80 , 0x9B90FF )
27
27
for ((index, reason) in reason.withIndex()) {
28
28
drawCenteredString(fontRenderer, reason, width / 2 , 94 + (14 * index), 0xFFFFFF )
29
29
}
30
30
31
31
drawCenteredString(fontRenderer, " Logged out at: $logoutTime " , width / 2 , 140 , 0xFFFFFFF )
32
32
33
- if (! disable) drawCenteredString(fontRenderer, " Disabled AutoLog " , width / 2 , 224 , 0xDE413C )
33
+ if (! disable) drawCenteredString(fontRenderer, " Disabled AutoDisconnect " , width / 2 , 224 , 0xDE413C )
34
34
super .drawScreen(mouseX, mouseY, partialTicks)
35
35
}
36
36
@@ -47,7 +47,7 @@ class LambdaGuiDisconnected(private val reason: Array<String>, private val scree
47
47
private fun disable () {
48
48
mainScope.launch {
49
49
delay(250L )
50
- AutoLog .disable()
50
+ AutoDisconnect .disable()
51
51
}
52
52
}
53
53
0 commit comments