PreventDoubleCraftEvent

class PreventDoubleCraftEvent(val player: Player, isAsync: Boolean = false) : Event

Called when a player attempts to start a new craft while a craft process (search or result generation) is already in progress, preventing the new attempt.

Since

5.0.21

Parameters

player

The player who attempted the double craft

isAsync

Called from async or not

Constructors

Link copied to clipboard
constructor(player: Player, isAsync: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:NotNull
open val eventName: @NotNull String
Link copied to clipboard
open override val handlers: HandlerList
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open override fun getHandlers(): HandlerList