diff --git a/pom.xml b/pom.xml index bcece44..fea63dc 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,34 @@ cn.lunadeer MinecraftPluginUtils - 1.3.10-SNAPSHOT + 1.3.10 + lunadeer-minecraft-develop-utils + https://ssl.lunadeer.cn:14446/zhangyuheng/MinecraftPluginUtils + + + + MIT + https://opensource.org/license/mit + + + + + + zhangyuheng + zhangyuheng + zhangyuheng@lunadeer.cn + + Project Manager + Architect + + + + + + https://ssl.lunadeer.cn:14446/zhangyuheng/MinecraftPluginUtils.git + scm:git:ssh://git@ssl.lunadeer.cn:14446/zhangyuheng/MinecraftPluginUtils.git + https://ssl.lunadeer.cn:14446/zhangyuheng/MinecraftPluginUtils + 17 @@ -85,6 +112,7 @@ + maven-source-plugin 3.2.1 @@ -97,6 +125,50 @@ + + + org.sonatype.central + central-publishing-maven-plugin + 0.4.0 + true + + central + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + gpg + zhangyuheng + + + + sign-artifacts + verify + + sign + + + + diff --git a/src/main/java/cn/lunadeer/minecraftpluginutils/ColorParser.java b/src/main/java/cn/lunadeer/minecraftpluginutils/ColorParser.java index 8fb965d..6facd8c 100644 --- a/src/main/java/cn/lunadeer/minecraftpluginutils/ColorParser.java +++ b/src/main/java/cn/lunadeer/minecraftpluginutils/ColorParser.java @@ -42,7 +42,7 @@ public class ColorParser { /** * 获取称号的颜色化字符串 * 需要使用 ChatColor.translateAlternateColorCodes 方法对返回字符串进行处理 - * &#FFFFFF -> &x&f&f&f&f&f + * &#FFFFFF -> &x&f&f&f&f&f * * @return String */ diff --git a/src/main/java/cn/lunadeer/minecraftpluginutils/Scheduler.java b/src/main/java/cn/lunadeer/minecraftpluginutils/Scheduler.java index 4c67eea..fd0da4b 100644 --- a/src/main/java/cn/lunadeer/minecraftpluginutils/Scheduler.java +++ b/src/main/java/cn/lunadeer/minecraftpluginutils/Scheduler.java @@ -34,7 +34,6 @@ public class Scheduler { * * @param task The task to run * @param delay The delay in ticks (20 ticks = 1 second) - * @return The scheduled task */ public static void runTaskLater(Runnable task, long delay) { if (delay <= 0) { @@ -52,7 +51,6 @@ public class Scheduler { * Run a task * * @param task The task to run - * @return The scheduled task */ public static void runTask(Runnable task) { if (instance.isPaper) { @@ -68,7 +66,6 @@ public class Scheduler { * @param task The task to run * @param delay The delay in ticks (20 ticks = 1 second) * @param period The period in ticks (20 ticks = 1 second) - * @return The scheduled task */ public static void runTaskRepeat(Runnable task, long delay, long period) { if (instance.isPaper) { @@ -83,7 +80,6 @@ public class Scheduler { * * @param task The task to run * @param delay The delay in milliseconds - * @return The scheduled task */ public static void runTaskLaterAsync(Runnable task, long delay) { if (delay <= 0) { @@ -101,7 +97,6 @@ public class Scheduler { * Run a task asynchronously * * @param task The task to run - * @return The scheduled task */ public static void runTaskAsync(Runnable task) { if (instance.isPaper) { @@ -117,7 +112,6 @@ public class Scheduler { * @param task The task to run * @param delay The delay in milliseconds * @param period The period in milliseconds - * @return The scheduled task */ public static void runTaskRepeatAsync(Runnable task, long delay, long period) { if (instance.isPaper) {