From 6cb55f5290a41c79759d8a83b75931ed0fd2371b Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 15 Nov 2016 20:25:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8E=BB=E9=99=A4System=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 58 +++++-------------- .../pw/yumc/YumCore/commands/CommandHelp.java | 2 +- 2 files changed, 16 insertions(+), 44 deletions(-) diff --git a/pom.xml b/pom.xml index 424ff70..e28a5eb 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,12 @@ + 4.0.0 pw.yumc YumCore 1.2 - YumCore - ${project.name} + ${project.artifactId} src/main/resources @@ -14,14 +14,6 @@ - - maven-compiler-plugin - 3.3 - - 1.7 - 1.7 - - org.apache.maven.plugins maven-source-plugin @@ -63,6 +55,8 @@ UTF-8 UTF-8 开发版本 + 1.7 + 1.7 @@ -92,6 +86,16 @@ bungeecord-api 1.10-SNAPSHOT + + me.clip + placeholderapi + 2.5.1 + + + org.black_ixx + PlayerPoints + 2.1.4 + net.milkbowl.vault Vault @@ -102,47 +106,15 @@ mail 1.4.7 - - org.spigotmc - spigot1102 - 1.10.2 - system - ${project.basedir}/lib/spigot-1.10.2.jar - - - org.spigotmc - spigot188 - 1.8.8 - system - ${project.basedir}/lib/spigot-1.8.8.jar - org.bukkit craftbukkit 1.7.10 - system - ${project.basedir}/lib/craftbukkit-1.7.10.jar com.comphenix.protocol ProtocolLib - 3.6.5-SNAPSHOT - system - ${project.basedir}/lib/ProtocolLib-3.6.5-SNAPSHOT.jar - - - me.clip - PlaceholderAPI - 1.8.6 - system - ${project.basedir}/lib/PlaceholderAPI.jar - - - org.black_ixx - PlayerPoints - 2.1.4 - system - ${project.basedir}/lib/PlayerPoints.jar + 3.6.5 \ No newline at end of file diff --git a/src/main/java/pw/yumc/YumCore/commands/CommandHelp.java b/src/main/java/pw/yumc/YumCore/commands/CommandHelp.java index 2626267..76f2427 100644 --- a/src/main/java/pw/yumc/YumCore/commands/CommandHelp.java +++ b/src/main/java/pw/yumc/YumCore/commands/CommandHelp.java @@ -70,7 +70,7 @@ public class CommandHelp { */ public CommandHelp(CommandInfo defCmd, Collection list) { this.defCmd = defCmd; - cmdlist = new LinkedList<>(list); + cmdlist = new LinkedList(list); Collections.sort(cmdlist, new CommandNameComparator()); Collections.sort(cmdlist, new CommandComparator()); HELPPAGECOUNT = (int) Math.ceil((double) cmdlist.size() / LINES_PER_PAGE);