From eb12c1cf73452d6bbdac1ca65fc67fd5d0fd072e Mon Sep 17 00:00:00 2001 From: Jakl <57708725+Jakllp@users.noreply.github.com> Date: Sat, 14 Dec 2024 08:49:12 +0100 Subject: [PATCH] Fixed Vanilla-Ridable-Riding --- .../MyPet/compat/v1_21_R3/entity/types/EntityMySeat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/v1_21_R3/src/main/java/de/Keyle/MyPet/compat/v1_21_R3/entity/types/EntityMySeat.java b/modules/v1_21_R3/src/main/java/de/Keyle/MyPet/compat/v1_21_R3/entity/types/EntityMySeat.java index cf9b3bedf..caa65fa6b 100644 --- a/modules/v1_21_R3/src/main/java/de/Keyle/MyPet/compat/v1_21_R3/entity/types/EntityMySeat.java +++ b/modules/v1_21_R3/src/main/java/de/Keyle/MyPet/compat/v1_21_R3/entity/types/EntityMySeat.java @@ -43,8 +43,8 @@ public EntityMySeat(Level level, double x, double y, double z) { public static void mountToPet(Entity passenger, Entity myPet) { var seat = new EntityMySeat(myPet.level(), myPet.getX(), myPet.getY(), myPet.getZ()); if (myPet.level().addFreshEntity(seat, CreatureSpawnEvent.SpawnReason.CUSTOM)) { - if (seat.startRiding(myPet)) { - if (passenger.startRiding(seat)) { + if (seat.startRiding(myPet, true)) { + if (passenger.startRiding(seat, true)) { return; } seat.stopRiding();