Skip to content

Commit

Permalink
fix breaking change where frameStats would be null instead of omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Jan 21, 2023
1 parent 2ce0dfb commit e2af74f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package dev.arbjerg.lavalink.protocol.v3

import com.fasterxml.jackson.annotation.JsonInclude

data class Stats(
@JsonInclude(JsonInclude.Include.NON_NULL)
val frameStats: FrameStats?,
val players: Int,
val playingPlayers: Int,
Expand Down

0 comments on commit e2af74f

Please sign in to comment.