Use spigot-api 1.20.4
This commit is contained in:
parent
a8e4489ae7
commit
5ecc6adf8f
2
pom.xml
2
pom.xml
@ -67,7 +67,7 @@
|
||||
<maven.minimumVersion>3.6.3</maven.minimumVersion>
|
||||
|
||||
<!-- Dependencies versions -->
|
||||
<spigot.version>1.20.2-R0.1-SNAPSHOT</spigot.version>
|
||||
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
||||
|
||||
<!-- Versioning properties -->
|
||||
<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) {
|
||||
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user