From ee04a6b0e49669279e330457a43eb07823f446be Mon Sep 17 00:00:00 2001 From: Pratik Date: Sat, 28 Sep 2024 11:19:23 -0500 Subject: [PATCH] update language to be clear --- .../client/plugins/friendnotes/FriendNotesConfig.java | 8 ++++---- .../client/plugins/friendnotes/FriendNotesPlugin.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesConfig.java index 4a245d9521d..8538094dac7 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesConfig.java @@ -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; } diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesPlugin.java index 2a72e4837d6..4987c8e779a 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesPlugin.java @@ -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());