Fix quantum suit status effects being visible.
Closes https://github.com/TechReborn/TechReborn/issues/3143
This commit is contained in:
parent
d4280ee2f1
commit
4a1d6b3bb1
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public class QuantumSuitItem extends TREnergyArmourItem implements ArmorBlockEnt
|
|||
}
|
||||
case FEET -> {
|
||||
if (playerEntity.isSwimming() && tryUseEnergy(stack, TechRebornConfig.quantumSuitSwimmingCost)) {
|
||||
playerEntity.addStatusEffect(new StatusEffectInstance(StatusEffects.DOLPHINS_GRACE, 5, 1));
|
||||
playerEntity.addStatusEffect(new StatusEffectInstance(StatusEffects.DOLPHINS_GRACE, 5, 1, true, false));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue