Skip to content

Commit

Permalink
fix: serialize default value (CCBlueX#3769)
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 authored Aug 23, 2024
1 parent 446de82 commit 0375f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/net/ccbluex/liquidbounce/config/Value.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typealias ValueChangedListener<T> = (T) -> Unit
@Suppress("TooManyFunctions")
open class Value<T : Any>(
@SerializedName("name") open val name: String,
private var defaultValue: T,
@Exclude private var defaultValue: T,
@Exclude val valueType: ValueType,
@Exclude @ProtocolExclude val listType: ListValueType = ListValueType.None
) {
Expand Down

0 comments on commit 0375f70

Please sign in to comment.