ItemAction

class ItemAction(val items: List<ItemStack>) : ShopAction

An action that gives the player a single or multiple items.

Author

MarkusTieger

Since

0.2.0

Constructors

Link copied to clipboard
constructor(items: List<ItemStack>)

Properties

Link copied to clipboard
val items: List<ItemStack>

Functions

Link copied to clipboard
open override fun exec(player: Player): Component?

Executes the action and gives the player the configured items.