fix inconsistency
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m21s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m21s
This commit is contained in:
parent
f07f47f3d0
commit
b386c0c710
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue