onItemSwap

fun Player.onItemSwap(callback: PlayerSwapHandItemsEvent.() -> Unit)

Custom Interaction Method for the PlayerSwapHandItemsEvent. Register SmartEvents and use the Event Manager.

See also