From f2aff24f54bb31f96e47e7a3aa4d5acf8c7414d2 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 28 Oct 2024 17:41:55 +0000 Subject: [PATCH] Fixed "Travelling in Style" advancement triggering without the balloon flying --- .../com/minelittlepony/unicopia/entity/Transportation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/Transportation.java b/src/main/java/com/minelittlepony/unicopia/entity/Transportation.java index 34632a16..265db2c2 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/Transportation.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/Transportation.java @@ -54,7 +54,8 @@ public class Transportation implements Tickable { ticksInVehicle = 0; } - if (ticksInVehicle > 20 && vehicle instanceof AirBalloonEntity) { + if (ticksInVehicle > 20 && vehicle instanceof AirBalloonEntity b + && !b.isOnGround() && b.hasBalloon() && b.hasBurner() && b.isAscending()) { UCriteria.RIDE_BALLOON.trigger(living.asEntity()); } }