Skip to content

Commit 9b3d8b0

Browse files
committed
- Modified the Javadoc to reference the correct method getAdjustedReputation(boolean, boolean, LocalDate, int) instead of the outdated one.
1 parent f50c720 commit 9b3d8b0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: MekHQ/src/mekhq/campaign/personnel/Person.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -4934,7 +4934,7 @@ public void setWealth(final int wealth) {
49344934
* <p>This method returns the unadjusted reputation value associated with the character.</p>
49354935
*
49364936
* <p><b>Usage:</b> If aging effects are enabled, you likely want to use
4937-
* {@link #getAdjustedReputation(boolean, LocalDate)} instead.</p>
4937+
* {@link #getAdjustedReputation(boolean, boolean, LocalDate, int)} instead.</p>
49384938
*
49394939
* @return The raw reputation value.
49404940
*/
@@ -4947,9 +4947,8 @@ public int getReputation() {
49474947
* date, and rank.
49484948
*
49494949
* <p>This method computes the character's reputation by applying age-based modifiers, which depend on factors such
4950-
* as
4951-
* whether aging effects are enabled, whether the campaign is clan-specific, the character's bloodname status, and
4952-
* their rank in the clan hierarchy. If aging effects are disabled, the reputation remains unchanged.</p>
4950+
* as whether aging effects are enabled, whether the campaign is clan-specific, the character's bloodname status,
4951+
* and their rank in the clan hierarchy. If aging effects are disabled, the reputation remains unchanged.</p>
49534952
*
49544953
* <p><b>Usage:</b> If aging effects are disabled, the result will be equivalent to the base reputation value
49554954
* provided by {@link #getReputation()}.</p>

0 commit comments

Comments
 (0)