From b386c0c710d1cb68a007540d8ba8fa225bb99665 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 17 Jun 2024 08:27:56 +0200 Subject: [PATCH] fix inconsistency --- .../client/feature/modules/movement/AntiLevitation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/movement/AntiLevitation.java b/Client/src/main/java/de/com/baseband/client/feature/modules/movement/AntiLevitation.java index e705f3a..0e7b7bb 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/movement/AntiLevitation.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/movement/AntiLevitation.java @@ -24,7 +24,7 @@ public class AntiLevitation extends Feature { @Override public void onTick() { meta = mode.name(); - if(mc.player.isPotionActive(MobEffects.LEVITATION) && mode == Mode.Effect) { + if(mode == Mode.Effect && mc.player.isPotionActive(MobEffects.LEVITATION)) { mc.player.getActivePotionMap().remove(MobEffects.LEVITATION); } }