Skip to content

Commit 96c408c

Browse files
committed
Shorter undo message
1 parent b1ce452 commit 96c408c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

common/src/main/kotlin/com/lambda/friend/FriendManager.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ object FriendManager : Configurable(FriendConfig), Loadable {
3939
val friends by setting("friends", setOf<GameProfile>())
4040

4141
fun befriend(profile: GameProfile) = friends.add(profile)
42-
4342
fun unfriend(profile: GameProfile): Boolean = friends.remove(profile)
4443

4544
fun gameProfile(name: String) = friends.firstOrNull { it.name == name }
@@ -69,7 +68,7 @@ object FriendManager : Configurable(FriendConfig), Loadable {
6968
literal(" to your friend list ")
7069
clickEvent(ClickEvents.suggestCommand(";friends remove ${name.string}")) {
7170
styled(underlined = true, color = Color.LIGHT_GRAY) {
72-
literal("[Click to undo]")
71+
literal("[Undo]")
7372
}
7473
}
7574
}
@@ -81,7 +80,7 @@ object FriendManager : Configurable(FriendConfig), Loadable {
8180
literal(" from your friend list ")
8281
clickEvent(ClickEvents.suggestCommand(";friends add ${name.string}")) {
8382
styled(underlined = true, color = Color.LIGHT_GRAY) {
84-
literal("[Click to undo]")
83+
literal("[Undo]")
8584
}
8685
}
8786
}

0 commit comments

Comments
 (0)