We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1679832 commit e1ab355Copy full SHA for e1ab355
1 file changed
common/src/main/kotlin/com/lambda/module/modules/player/AntiAim.kt
@@ -33,8 +33,7 @@ import com.lambda.util.math.distSq
33
import net.minecraft.entity.Entity
34
import net.minecraft.entity.player.PlayerEntity
35
import net.minecraft.util.math.MathHelper.wrapDegrees
36
-import java.util.*
37
-import java.util.random.RandomGenerator
+import kotlin.random.Random
38
39
object AntiAim : Module(
40
"AntiAim",
@@ -73,7 +72,7 @@ object AntiAim : Module(
73
72
private var currentYaw = 0.0f
74
private var currentPitch = 0.0f
75
76
- private val random = Random.from(RandomGenerator.getDefault())
+ private val random = Random(0)
77
private var jitterRight = true
78
private var jitterUp = true
79
private var pitchingUp = true
0 commit comments