mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed crash
This commit is contained in:
parent
646317e663
commit
716281853c
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,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