feat:修复细节问题

This commit is contained in:
lulz1 2024-07-04 15:39:57 +08:00
parent d45e270c00
commit 26872a42f3
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ public class Leg implements Serializable, EventManageable {
return false; return false;
} }
if (this.legExtensionField != null) { if (this.legExtensionField != null) {
if (this.legExtensionField.getLocationList() == null) {
return true;
}
for (Location location : this.legExtensionField.getLocationList()) { for (Location location : this.legExtensionField.getLocationList()) {
if (!location.isInternal()) { if (!location.isInternal()) {
return false; return false;