onUse

open override fun onUse(player: Player, action: CustomItemAction): Boolean

アイテム使用時の処理

Return

処理成功時は true

Parameters

player

使用したプレイヤー

action

実行されたアクション