mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed "Travelling in Style" advancement triggering without the balloon flying
This commit is contained in:
parent
75aceac066
commit
f2aff24f54
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ public class Transportation<T extends LivingEntity> 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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue