Use spigot-api 1.20.4
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<maven.minimumVersion>3.6.3</maven.minimumVersion>
|
<maven.minimumVersion>3.6.3</maven.minimumVersion>
|
||||||
|
|
||||||
<!-- Dependencies versions -->
|
<!-- Dependencies versions -->
|
||||||
<spigot.version>1.20.2-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
||||||
|
|
||||||
<!-- Versioning properties -->
|
<!-- Versioning properties -->
|
||||||
<project.outputName>AuthMe</project.outputName>
|
<project.outputName>AuthMe</project.outputName>
|
||||||
|
|||||||
@@ -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) {
|
public void runTaskIfFolia(Entity entity, Runnable task) {
|
||||||
if (IS_FOLIA) {
|
if (IS_FOLIA) {
|
||||||
runTask(entity, task);
|
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) {
|
public void runTaskIfFolia(Location location, Runnable task) {
|
||||||
if (IS_FOLIA) {
|
if (IS_FOLIA) {
|
||||||
runTask(location, task);
|
runTask(location, task);
|
||||||
|
|||||||
Reference in New Issue
Block a user