mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Fixed crash
This commit is contained in:
parent
f25df41fa5
commit
3f0dfff9e9
1 changed files with 3 additions and 0 deletions
|
@ -218,6 +218,9 @@ public record Race (Supplier<Composite> compositeSupplier, boolean canCast, Flig
|
||||||
}
|
}
|
||||||
|
|
||||||
public FlightType flightType() {
|
public FlightType flightType() {
|
||||||
|
if (pseudo() == null) {
|
||||||
|
return physical().flightType();
|
||||||
|
}
|
||||||
return physical().flightType().or(pseudo().flightType());
|
return physical().flightType().or(pseudo().flightType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue