diff --git a/src/main/java/artifacts/common/item/curio/necklace/CharmOfSinkingItem.java b/src/main/java/artifacts/common/item/curio/necklace/CharmOfSinkingItem.java index aab9b825a..cdf533841 100644 --- a/src/main/java/artifacts/common/item/curio/necklace/CharmOfSinkingItem.java +++ b/src/main/java/artifacts/common/item/curio/necklace/CharmOfSinkingItem.java @@ -1,7 +1,6 @@ package artifacts.common.item.curio.necklace; -import artifacts.common.components.SwimAbilityComponent; import artifacts.common.init.ModComponents; import artifacts.common.item.curio.CurioItem; import artifacts.common.trinkets.TrinketsHelper; @@ -21,7 +20,7 @@ public CharmOfSinkingItem() { private static TriState onPlayerSwim(Player player) { return ModComponents.SWIM_ABILITIES.maybeGet(player) - .filter(SwimAbilityComponent::isSinking) + .filter(swimAbilityComponent -> swimAbilityComponent.isSinking() && !swimAbilityComponent.isSwimming()) .map(swimAbilities -> TriState.FALSE) .orElse(TriState.DEFAULT); }