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);