Renamed builder function
This commit is contained in:
@@ -5,7 +5,7 @@ package net.axay.kspigot.inventory
|
|||||||
import net.axay.kspigot.inventory.elements.*
|
import net.axay.kspigot.inventory.elements.*
|
||||||
import org.bukkit.inventory.ItemStack
|
import org.bukkit.inventory.ItemStack
|
||||||
|
|
||||||
fun <T : ForInventory> inventoryGUI(
|
fun <T : ForInventory> kSpigotGUI(
|
||||||
type: InventoryType<T>,
|
type: InventoryType<T>,
|
||||||
builder: InventoryGUIBuilder<T>.() -> Unit,
|
builder: InventoryGUIBuilder<T>.() -> Unit,
|
||||||
) = InventoryGUIBuilder(type).apply(builder).build()
|
) = InventoryGUIBuilder(type).apply(builder).build()
|
||||||
|
Reference in New Issue
Block a user