Update InventoryGUIButton.kt

This commit is contained in:
bluefireoly
2020-10-21 21:49:19 +02:00
parent be97686815
commit decf2c7b57

View File

@@ -5,7 +5,7 @@ import org.bukkit.inventory.ItemStack
open class InventoryGUIButton<T : ForInventory>(
private val icon: ItemStack,
val action: (InventoryGUIClickEvent<T>) -> Unit,
private val action: (InventoryGUIClickEvent<T>) -> Unit,
) : InventoryGUIElement<T>() {
override fun getItemStack(slot: Int) = icon