Skip to content

Commit

Permalink
Fix #266: Correctly rename config key
Browse files Browse the repository at this point in the history
The PR changed the config key name at the end, but forgot to change the key name in the Java source.
  • Loading branch information
spnda committed Jul 12, 2024
1 parent 199aafe commit eca1dcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ public boolean lockOnPlaceByDefault() {
* @since 1.1.15
*/
public boolean publicIsFriendByDefault() {
if (!this.config.contains("public_on_place_by_default")) return false;
return this.config.getBoolean("public_on_place_by_default");
if (!this.config.contains("public_is_friend_by_default")) return false;
return this.config.getBoolean("public_is_friend_by_default");
}

/**
Expand Down

0 comments on commit eca1dcd

Please sign in to comment.