Skip to content

Commit

Permalink
Mark PlayerXPGainEvent as always async
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeberrex committed Jul 22, 2024
1 parent 2c84e0c commit 2b46c2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ class PlayerTracker : Listener {
data class PlayerLevelUpEvent(val data: PlayerLevelUpData) : KEvent()
data class PlayerLevelUpData(val player: Player, val level: Int)

data class PlayerXPGainEvent(val data: PlayerXPGainData) : KEvent()
data class PlayerXPGainEvent(val data: PlayerXPGainData) : KEvent(async = true)
data class PlayerXPGainData(val playerId: UUID, val gain: Int, val reason: String, val notify: Boolean, val multiplier: Float?)

0 comments on commit 2b46c2f

Please sign in to comment.