Skip to content

Commit 52f46ad

Browse files
authored
style: cleanup for paper/dev/scheduler page (#579)
1 parent 69c1bc3 commit 52f46ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/paper/dev/api/scheduler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This guide is designed for non-Folia Bukkit servers. If you are using Folia, you
1414

1515
## What is a tick?
1616

17-
Every game runs something called a game loop ,which essentially executes all the logic of the game over and over.
17+
Every game runs something called a game loop, which essentially executes all the logic of the game over and over.
1818
A single execution of that loop in Minecraft is called a 'tick'.
1919

2020
In Minecraft, there are 20 ticks per second or in other words, one tick every 50 milliseconds. This means that the game loop is executed
@@ -60,7 +60,7 @@ Scheduling a task requires you to pass:
6060

6161
- Your plugin's instance
6262
- The code to run, either with a [`Runnable`](jd:java:java.lang.Runnable)
63-
or [`Consumer`](jd:java:java.util.function.Consumer)`<`[`BukkitTask`](jd:paper:org.bukkit.scheduler.BukkitTask)`>`
63+
or <code>[Consumer](jd:java:java.util.function.Consumer)<[BukkitTask](jd:paper:org.bukkit.scheduler.BukkitTask)></code>
6464
- The delay in ticks before the task should run for the first time
6565
- The period in ticks between each execution of the task, if you're scheduling a repeating task
6666

0 commit comments

Comments
 (0)