We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07796e commit abd7dc0Copy full SHA for abd7dc0
common/src/main/kotlin/com/lambda/friend/FriendManager.kt
@@ -30,7 +30,7 @@ object FriendManager : Configurable(FriendConfig), Loadable {
30
31
fun add(profile: GameProfile) { if (!contains(profile)) friends.add(profile) }
32
33
- fun remove(profile: GameProfile) { friends.remove(profile) }
+ fun remove(profile: GameProfile) = friends.remove(profile) // FixMe: For some reasons you can't remove friends
34
35
fun get(name: String) = friends.firstOrNull { it.name == name }
36
fun get(uuid: UUID) = friends.firstOrNull { it.id == uuid }
0 commit comments