From cda55f20aac283ab902c911955bf2bdd0742f4b9 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Mon, 3 Nov 2025 16:17:48 +0800 Subject: [PATCH] fix javadoc build --- .../scheduling/schedulers/TaskScheduler.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/scheduler/scheduling/schedulers/TaskScheduler.java b/src/main/java/me/clip/placeholderapi/scheduler/scheduling/schedulers/TaskScheduler.java index 98df3ac..200f0e6 100644 --- a/src/main/java/me/clip/placeholderapi/scheduler/scheduling/schedulers/TaskScheduler.java +++ b/src/main/java/me/clip/placeholderapi/scheduler/scheduling/schedulers/TaskScheduler.java @@ -37,7 +37,7 @@ public interface TaskScheduler { /** * Folia: Returns whether the current thread is ticking the global region
- * Paper & Bukkit: Returns {@link org.bukkit.Server#isPrimaryThread} + * Paper and Bukkit: Returns {@link org.bukkit.Server#isPrimaryThread} */ boolean isGlobalThread(); @@ -49,7 +49,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Returns whether the current thread is ticking a region and that the region + * Folia and Paper: Returns whether the current thread is ticking a region and that the region * being ticked owns the specified entity. Note that this function is the only appropriate method of * checking for ownership of an entity, as retrieving the entity's location is undefined unless the * entity is owned by the current region @@ -61,7 +61,7 @@ public interface TaskScheduler { boolean isEntityThread(Entity entity); /** - * Folia & Paper: Returns whether the current thread is ticking a region and that the region + * Folia and Paper: Returns whether the current thread is ticking a region and that the region * being ticked owns the chunk at the specified world and block position as included in the specified location *

* Bukkit: returns {@link org.bukkit.Server#isPrimaryThread} @@ -72,7 +72,7 @@ public interface TaskScheduler { /** * Schedules a task to be executed on the next tick
- * Folia & Paper: ...on the global region
+ * Folia and Paper: ...on the global region
* Bukkit: ...on the main thread * * @param runnable The task to execute @@ -81,7 +81,7 @@ public interface TaskScheduler { /** * Schedules a task to be executed after the specified delay in ticks
- * Folia & Paper: ...on the global region
+ * Folia and Paper: ...on the global region
* Bukkit: ...on the main thread * * @param runnable The task to execute @@ -91,7 +91,7 @@ public interface TaskScheduler { /** * Schedules a repeating task to be executed after the initial delay with the specified period
- * Folia & Paper: ...on the global region
+ * Folia and Paper: ...on the global region
* Bukkit: ...on the main thread * * @param runnable The task to execute @@ -125,7 +125,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a task to be executed on the region which owns the location on the next tick + * Folia and Paper: Schedules a task to be executed on the region which owns the location on the next tick *

* Bukkit: same as {@link #runTask(Runnable)} * @@ -137,7 +137,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a task to be executed on the region which owns the location after the + * Folia and Paper: Schedules a task to be executed on the region which owns the location after the * specified delay in ticks *

* Bukkit: same as {@link #runTaskLater(Runnable, long)} @@ -151,7 +151,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a repeating task to be executed on the region which owns the location + * Folia and Paper: Schedules a repeating task to be executed on the region which owns the location * after the initial delay with the specified period *

* Bukkit: same as {@link #runTaskTimer(Runnable, long, long)} @@ -190,7 +190,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a task to be executed on the region which owns the location + * Folia and Paper: Schedules a task to be executed on the region which owns the location * of given entity on the next tick *

* Bukkit: same as {@link #runTask(Runnable)} @@ -203,7 +203,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a task to be executed on the region which owns the location + * Folia and Paper: Schedules a task to be executed on the region which owns the location * of given entity after the specified delay in ticks *

* Bukkit: same as {@link #runTaskLater(Runnable, long)} @@ -217,7 +217,7 @@ public interface TaskScheduler { } /** - * Folia & Paper: Schedules a repeating task to be executed on the region which owns the + * Folia and Paper: Schedules a repeating task to be executed on the region which owns the * location of given entity after the initial delay with the specified period *

* Bukkit: same as {@link #runTaskTimer(Runnable, long, long)} @@ -285,7 +285,7 @@ public interface TaskScheduler { /** * Calls a method on the main thread and returns a Future object. This task will be executed - * by the main(Bukkit)/global(Folia&Paper) server thread. + * by the main(Bukkit)/global(FoliaandPaper) server thread. *

* Note: The Future.get() methods must NOT be called from the main thread. *