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); } }