Skip to content

CloseModalInput

data class CloseModalInput(val unit: Unit = Unit) : IncomingGamePacket()
Example
on_input<CloseModalInput> { player ->
Logger.debug("${player.uuid} closed a modal")
player.message("You close the window.")
}
val unit: Unit