Skip to content

Commit 7fc18b3

Browse files
committed
fixed friend serialization
1 parent d03418e commit 7fc18b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import java.util.*
4141
// - Improve save file structure.
4242
object FriendManager : Configurable(FriendConfig), Loadable {
4343
override val name = "friends"
44-
val friends by setting("friends", emptySet<GameProfile>())
44+
val friends by setting("friends", emptySet<GameProfile>(), serialize = true)
4545

4646
fun befriend(profile: GameProfile) = friends.add(profile)
4747
fun unfriend(profile: GameProfile): Boolean = friends.remove(profile)

0 commit comments

Comments
 (0)