Skip to content

Commit 8058ef3

Browse files
authored
Update getting-started.md
1 parent 5b5b1b7 commit 8058ef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ local Bukkit = import("org.bukkit.Bukkit")
9494
local Keyed = import("net.kyori.adventure.key.Keyed")
9595
local NamespacedKey = import("org.bukkit.NamespacedKey")
9696

97-
script.onLoad(function()
97+
script:onLoad(function()
9898
-- Creating new instance of NamespacedKey class.
9999
local key = NamespacedKey("minecraft", "overworld")
100100
-- Getting instance of the primary world.
@@ -183,4 +183,4 @@ scheduler:runAsync(handler: (BukkitRunnable) -> void): BukkitTask
183183
scheduler:runDelayedAsync(handler: (BukkitRunnable) -> void, delay: number): BukkitTask
184184
-- Schedules task to be run after {delay} ticks has passed, and repeated every {period} ticks.
185185
scheduler:runRepeatingAsync(handler: (BukkitRunnable) -> void, delay: number, period: number): BukkitTask
186-
```
186+
```

0 commit comments

Comments
 (0)