exec

open override fun exec(player: Player): Component?

Executes the action and gives the player the configured items.

Return

If the inventory has enough space it's null, else it's the error message

Since

0.2.0

Parameters

player

The player who performed the action