Skip to content

Commit

Permalink
Updated README to reflect change
Browse files Browse the repository at this point in the history
  • Loading branch information
KingsMMA authored Dec 7, 2024
1 parent e1f2865 commit 9169639
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ You can, of course, also implement GUIs for other inventory types:
val dropperGui = gui(Component.text("Title"), 9, InventoryType.DROPPER) {
// You can also set multiple indexes at once
set(listOf(1, 3, 4, 5, 7), ItemStack(Material.GRAY_STAINED_GLASS_PANE))

// You can also cancel all clicks that occur while the GUI is open
onClick { isCancelled = true }
}
player.openInventory(dropperGui)
```
Expand Down

0 comments on commit 9169639

Please sign in to comment.