From 872a75acbf0463cae60e684a3f14c0889780da26 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Tue, 20 Oct 2020 18:14:55 +0200 Subject: [PATCH] Renamed builder function --- .../kotlin/net/axay/kspigot/inventory/InventoryGUIBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()