From b3061332b5c667c8b092feca482cadb1b4c64c52 Mon Sep 17 00:00:00 2001 From: ACGaming <4818419+ACGaming@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:17:42 +0200 Subject: [PATCH] Resolve build error --- .../java/drzhark/mocreatures/entity/neutral/MoCEntityKitty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/drzhark/mocreatures/entity/neutral/MoCEntityKitty.java b/src/main/java/drzhark/mocreatures/entity/neutral/MoCEntityKitty.java index 8bdd4c75..78cfbe8c 100644 --- a/src/main/java/drzhark/mocreatures/entity/neutral/MoCEntityKitty.java +++ b/src/main/java/drzhark/mocreatures/entity/neutral/MoCEntityKitty.java @@ -1052,7 +1052,7 @@ else if (!world.getBlockState(getPosition()).causesSuffocation()) { super.onLivingUpdate(); } // Dismount player on both sides to prevent desyncs - if (this.isRiding()) MoCTools.dismountSneakingPlayer(this); + if (this.isRiding()) MoCTools.dismountPassengerFromEntity(this, this.getRidingEntity(), false); } public boolean onMaBack() {