Added default parameters

This commit is contained in:
bluefireoly
2020-10-25 19:32:19 +01:00
parent e72128556e
commit 25c769be03
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import kotlin.math.absoluteValue
fun <T : ForInventory> kSpigotGUI(
type: GUIType<T>,
guiCreator: GUICreator<T>,
guiCreator: GUICreator<T> = IndividualGUICreator(),
builder: GUIBuilder<T>.() -> Unit,
) = GUIBuilder(type, guiCreator).apply(builder).build()