Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DebitCardz authored Aug 1, 2023
1 parent b1f5117 commit 6749bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fun glowingHeadGUI(): GUI {
slot(2, 2) {
item = item(Material.PLAYER_HEAD) {
name = Component.text("Your glowing head!", NamedTextColor.GOLD)
skulOwner = player
skullOwner = player
glowing = true
}
}
Expand Down Expand Up @@ -298,4 +298,4 @@ getCommand("openUi").setExecutor(object : CommandExecutor {

If a single instance of a GUI is being used to be opened to multiple people or is cached it's
extremely important to mark `automaticallyUnregisterListener` as false or the `Listener` attached to the `GUI`
will be unregistered once all initial viewers of the `GUI` exit the menu resulting in undefined behavior.
will be unregistered once all initial viewers of the `GUI` exit the menu resulting in undefined behavior.

0 comments on commit 6749bbf

Please sign in to comment.