From ef2ee7eeff6b029b29c71a250e02f995e34e7711 Mon Sep 17 00:00:00 2001 From: LtxPgm Date: Mon, 7 Oct 2024 13:23:08 -0500 Subject: [PATCH] Fixed #1091 --- .../changed/entity/beast/AbstractAquaticEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/ltxprogrammer/changed/entity/beast/AbstractAquaticEntity.java b/src/main/java/net/ltxprogrammer/changed/entity/beast/AbstractAquaticEntity.java index ecf084137..e02fe7309 100644 --- a/src/main/java/net/ltxprogrammer/changed/entity/beast/AbstractAquaticEntity.java +++ b/src/main/java/net/ltxprogrammer/changed/entity/beast/AbstractAquaticEntity.java @@ -291,8 +291,8 @@ public GoToWaterGoal(AbstractAquaticEntity entity, double speed) { public boolean canUse() { if (this.mob.isInWater()) { return false; - } else if (mob.wantsToSwim()) { - return true; + } else if (!mob.wantsToSwim()) { + return false; } else if (this.mob.getTarget() != null) { return false; } else {