From 147eec26f602b4e56f0d821ac866f09ddd8c7975 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 21 Jan 2020 15:50:33 +0000 Subject: [PATCH] Fix missed mapping. #releaseBuild --- src/main/java/techreborn/items/armor/QuantumSuitItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/items/armor/QuantumSuitItem.java b/src/main/java/techreborn/items/armor/QuantumSuitItem.java index 95dbf0182..a38cc9ec2 100644 --- a/src/main/java/techreborn/items/armor/QuantumSuitItem.java +++ b/src/main/java/techreborn/items/armor/QuantumSuitItem.java @@ -84,7 +84,7 @@ public class QuantumSuitItem extends TRArmourItem implements ItemStackModifiers, public void tickArmor(ItemStack stack, PlayerEntity playerEntity) { switch (this.slot) { case HEAD: - if (playerEntity.isInWater()) { + if (playerEntity.isSubmergedInWater()) { if (Energy.of(stack).use(breathingCost)) { playerEntity.addStatusEffect(new StatusEffectInstance(StatusEffects.WATER_BREATHING, 5, 1)); }