From 29d5be90ad5ec3c375947bb1a61fb5af4532d09a Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Sun, 10 Jan 2021 22:56:22 +0100 Subject: [PATCH] Update readme.md --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 8c7fd466..4e8764b2 100644 --- a/readme.md +++ b/readme.md @@ -137,7 +137,9 @@ val gui = kSpigotGUI(GUIType.FIVE_BY_NINE) { page(2) { // placeholders are there to block any player action while displaying a specific item placeholder(Slots.RowOneSlotOne rectTo Slots.RowFiveSlotNine, ItemStack(Material.PINK_GLAZED_TERRACOTTA)) - previousPage(Slots.RowThreeSlotFive, ItemStack(Material.DIAMOND)) + + // change to a specific page + pageChanger(Slots.RowThreeSlotFive, ItemStack(Material.DIAMOND), 1) } }