Compare commits

..

3 Commits

Author SHA1 Message Date
YouHaveTrouble e80629d708 bump version 2023-04-26 23:23:07 +02:00
YouHaveTrouble f41bfa7cd1 make bukkit module folia compatible
thanks to @Aitooor for figuring out what needed to be changed
2023-04-26 23:20:52 +02:00
YouHaveTrouble 5af0cdef84 update depends 2023-04-26 23:15:14 +02:00
7 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId>
<version>2.5.5</version>
<version>2.6.0</version>
</parent>
<artifactId>Bukkit</artifactId>
@@ -21,6 +21,7 @@ import org.bukkit.plugin.java.JavaPlugin;
import java.io.File;
import java.util.*;
import java.util.concurrent.CompletableFuture;
public class CommandWhitelistBukkit extends JavaPlugin {
@@ -78,7 +79,7 @@ public class CommandWhitelistBukkit extends JavaPlugin {
}
public void reloadPluginConfig(CommandSender sender) {
getServer().getScheduler().runTaskAsynchronously(this, () -> {
CompletableFuture.runAsync(() -> {
reloadPluginConfig();
try {
for (Player p : Bukkit.getOnlinePlayers()) {
@@ -5,6 +5,7 @@ api-version: 1.13
main: eu.endermite.commandwhitelist.bukkit.CommandWhitelistBukkit
authors: [YouHaveTrouble]
website: youhavetrouble.me
folia-supported: true
softdepend:
- ProtocolLib
description: Control what commands players can use
+3 -3
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId>
<version>2.5.5</version>
<version>2.6.0</version>
</parent>
<artifactId>Common</artifactId>
@@ -82,13 +82,13 @@
<dependency>
<groupId>com.velocitypowered</groupId>
<artifactId>velocity-api</artifactId>
<version>1.1.0</version>
<version>3.1.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-minimessage</artifactId>
<version>4.11.0</version>
<version>4.13.1</version>
<scope>provided</scope>
</dependency>
<dependency>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId>
<version>2.5.5</version>
<version>2.6.0</version>
</parent>
<artifactId>Velocity</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId>
<version>2.5.5</version>
<version>2.6.0</version>
</parent>
<artifactId>Waterfall</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId>
<version>2.5.5</version>
<version>2.6.0</version>
<modules>
<module>CommandWhitelistCommon</module>
<module>CommandWhitelistBukkit</module>