Help omgomg
Unsolved
Kotlin/Java
-
@EventTarget private fun onBobik(event: MoveEvent) { var isChanged : Boolean = false var oldStrafe : Int = 0 if (killAuraEnableTargetStrafe.get()) { if (killAura.rotationStrafeValue.get().toLowerCase().equals("off") || killAura.rotationStrafeValue.get().toLowerCase().equals("silent") || killAura.rotationStrafeValue.get().toLowerCase().equals("strict") && killAura.state == true && speed.state == true && state == true) { if (killAura.rotationStrafeValue.get().toLowerCase().equals("off")) { oldStrafe = 1 } if (killAura.rotationStrafeValue.get().toLowerCase().equals("silent")) { oldStrafe = 2 } if (killAura.rotationStrafeValue.get().toLowerCase().equals("strict")) { oldStrafe = 3 } killAura.rotationStrafeValue.changeValue("TargetStrafe") isChanged = true } if (isChanged == true) { if (killAura.state == false || speed.state == false || state == false) { if (oldStrafe == 1) { killAura.rotationStrafeValue.changeValue("Off") oldStrafe = 0 isChanged = false } if (oldStrafe == 2) { killAura.rotationStrafeValue.changeValue("Silent") oldStrafe = 0 isChanged = false } if (oldStrafe == 3) { killAura.rotationStrafeValue.changeValue("Strict") oldStrafe = 0 isChanged = false } } } } }
why it doesnt want to return old values? idk im dumb
if if if if if if if if if if if if if if if if if if if if if if if if if -