diff --git a/src/main/kotlin/net/axay/kspigot/inventory/InventoryGUIBuilder.kt b/src/main/kotlin/net/axay/kspigot/inventory/InventoryGUIBuilder.kt index dc15cfe6..b7344c12 100644 --- a/src/main/kotlin/net/axay/kspigot/inventory/InventoryGUIBuilder.kt +++ b/src/main/kotlin/net/axay/kspigot/inventory/InventoryGUIBuilder.kt @@ -5,7 +5,7 @@ package net.axay.kspigot.inventory import net.axay.kspigot.inventory.elements.* import org.bukkit.inventory.ItemStack -fun inventoryGUI( +fun kSpigotGUI( type: InventoryType, builder: InventoryGUIBuilder.() -> Unit, ) = InventoryGUIBuilder(type).apply(builder).build()