Skip to content

2025-May-13 - 2.7.15030

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 May 16:49
a94f0c0
fix 13372 (NPE RelationshipTracker#getRelationshipType) (#13381)

Should fix https://github.com/triplea-game/triplea/issues/13372

GameProperties.java
- method getPlayerProperty: Change (nullable) return value to Optional

BottomBar.java

RelationshipTracker.java
- method setStatus with Optional: Split into setStatus with Image parameter and without and new method setStatusAndClearIcon
- method getTerritoryLabelTextPattern: Handle null cases for territoryOwner and current Player; use getData from territoryOwner

RelationshipTracker.java
- methods getRelationshipType/getRelationship: annotated GamePlayer parameter as NotNull

TripleAFrame.java
- methods clearStatusMessage/setStatusErrorMessage/setStatusWarningMessage: reworked usage of BottomBar.setStatus