Skip to content

Commit

Permalink
fix: refresh gui may not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Gk0Wk committed Aug 23, 2023
1 parent dba9fb5 commit bb54456
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ idea {

val targetJavaVersion = 8

version = "2.1.4"
version = "2.1.5"
group = "city.newnan.violet"
description = "Useful toolkits java library for Bukkit Server Plugin."

Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/city/newnan/violet/gui/PlayerGuiSession.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class PlayerGuiSession(val player: Player) {
history.lastOrNull()?.also { (gui, update, _) ->
Schedulers.sync().run {
if (update?.invoke(UpdateType.Refresh, gui, this) == true) gui.update()
gui.open(player)
}
}
}
Expand Down

0 comments on commit bb54456

Please sign in to comment.