From 1c98be3fc3978661b6b76164cbacb22b8dca0429 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Tue, 19 Jan 2021 13:48:51 +0100 Subject: [PATCH] Update readme.md --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 296a782a..405c3a71 100644 --- a/readme.md +++ b/readme.md @@ -126,6 +126,7 @@ val gui = kSpigotGUI(GUIType.FIVE_BY_NINE) { // a button with a custom callback button(Slots.RowThreeSlotFive, ItemStack(Material.REPEATER)) { + // change content of the current view it.guiInstance[Slots.RowTwoSlotFive] = ItemStack(Material.values().random(), (1..64).random()) }