Skip to content

Commit

Permalink
update language to be clear
Browse files Browse the repository at this point in the history
  • Loading branch information
pratik-p committed Sep 28, 2024
1 parent 002e4df commit ee04a6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ default boolean showIcons()
}

@ConfigItem(
keyName = "removeNoteOnDelete",
name = "Remove Note On Delete",
description = "Remove the note when a player is deleted",
keyName = "keepNoteOnDelete",
name = "Keep Note On Delete",
description = "Keep the note when a player is deleted",
position = 2
)
default boolean removeNoteOnDelete()
default boolean keepNoteOnDelete()
{
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public void onNameableNameChanged(NameableNameChanged event)
@Subscribe
public void onRemovedFriend(RemovedFriend event)
{
if (config.removeNoteOnDelete())
if (!config.keepNoteOnDelete())
{
// Delete a friend's note if they are removed
final String displayName = Text.toJagexName(event.getNameable().getName());
Expand Down

0 comments on commit ee04a6b

Please sign in to comment.