Fixed crash

This commit is contained in:
Sollace 2023-10-09 15:14:28 +01:00
parent 646317e663
commit 716281853c
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -217,6 +217,9 @@ public record Race (Supplier<Composite> compositeSupplier, boolean canCast, Flig
}
public FlightType flightType() {
if (pseudo() == null) {
return physical().flightType();
}
return physical().flightType().or(pseudo().flightType());
}
}