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 4d7df22 commit bd40575Copy full SHA for bd40575
common/src/main/kotlin/com/lambda/module/modules/combat/FakePlayer.kt
@@ -22,6 +22,7 @@ import com.lambda.http.Method
22
import com.lambda.http.request
23
import com.lambda.module.Module
24
import com.lambda.module.tag.ModuleTag
25
+import com.lambda.threading.onShutdown
26
import com.lambda.threading.runSafeConcurrent
27
import com.mojang.authlib.GameProfile
28
import net.minecraft.client.network.OtherClientPlayerEntity
@@ -68,6 +69,8 @@ object FakePlayer : Module(
68
69
onDisable {
70
deletePlayer()
71
}
72
+
73
+ onShutdown { disable() }
74
75
76
private fun SafeContext.spawnPlayer(profile: GameProfile) {
0 commit comments