From 1bc2f6782e1d20997c80e7d45e16753e58629086 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Tue, 19 Jan 2021 13:48:28 +0100 Subject: [PATCH] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4e8764b2..296a782a 100644 --- a/readme.md +++ b/readme.md @@ -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