diff --git a/pom.xml b/pom.xml
index f3ab3d77..25db5c10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,7 +67,7 @@
3.6.3
- 1.20.2-R0.1-SNAPSHOT
+ 1.20.4-R0.1-SNAPSHOT
AuthMe
diff --git a/src/main/java/fr/xephi/authme/service/BukkitService.java b/src/main/java/fr/xephi/authme/service/BukkitService.java
index 989b608b..f438b3b2 100644
--- a/src/main/java/fr/xephi/authme/service/BukkitService.java
+++ b/src/main/java/fr/xephi/authme/service/BukkitService.java
@@ -117,6 +117,10 @@ public class BukkitService implements SettingsDependent {
}
}
+ /**
+ * Runs the task synchronously if we are running Folia, else do nothing but run it.
+ * @param task the task to be run
+ */
public void runTaskIfFolia(Entity entity, Runnable task) {
if (IS_FOLIA) {
runTask(entity, task);
@@ -125,6 +129,10 @@ public class BukkitService implements SettingsDependent {
}
}
+ /**
+ * Runs the task synchronously if we are running Folia, else do nothing but run it.
+ * @param task the task to be run
+ */
public void runTaskIfFolia(Location location, Runnable task) {
if (IS_FOLIA) {
runTask(location, task);