close

override fun close(player: SpigotPlayer)

Closes this inventory for the given player. This function will clean up the state for this inventory and eventually call the onClose lifecycle function for the given player.