Update readme.md

This commit is contained in:
bluefireoly
2021-01-19 13:48:28 +01:00
parent e18efde90a
commit 1bc2f6782e

View File

@@ -126,7 +126,7 @@ val gui = kSpigotGUI(GUIType.FIVE_BY_NINE) {
// a button with a custom callback
button(Slots.RowThreeSlotFive, ItemStack(Material.REPEATER)) {
it.gui[Slots.RowTwoSlotFive] = ItemStack(Material.values().random(), (1..64).random()
it.guiInstance[Slots.RowTwoSlotFive] = ItemStack(Material.values().random(), (1..64).random())
}
// a slot where player interaction is permitted