From 643531da955e9d0db7ca4c21634f4eeb795db9e8 Mon Sep 17 00:00:00 2001 From: Blade <98755526+INotBLADE@users.noreply.github.com> Date: Tue, 17 Jan 2023 00:24:48 +0200 Subject: [PATCH] Add NoPush setting check for noblockpush --- .../com/lambda/client/module/modules/movement/Velocity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/lambda/client/module/modules/movement/Velocity.kt b/src/main/kotlin/com/lambda/client/module/modules/movement/Velocity.kt index ad7c49538..1651ee380 100644 --- a/src/main/kotlin/com/lambda/client/module/modules/movement/Velocity.kt +++ b/src/main/kotlin/com/lambda/client/module/modules/movement/Velocity.kt @@ -61,7 +61,7 @@ object Velocity : Module( } safeListener { - if (block) it.cancel() + if (noPush && block) it.cancel() } }