Small changes.

This commit is contained in:
Matt 2019-09-29 19:46:23 +01:00
parent 997642c7ec
commit 3344a95f85
5 changed files with 2 additions and 8 deletions

View File

@ -6,7 +6,7 @@
<groupId>me.mattstudios.plugins</groupId>
<artifactId>citizens-cmd</artifactId>
<version>2.4.0</version>
<version>2.4</version>
<packaging>jar</packaging>
<name>CitizensCMD</name>

View File

@ -2,7 +2,6 @@ package me.mattstudios.citizenscmd.commands;
import me.mattstudios.citizenscmd.CitizensCMD;
import me.mattstudios.citizenscmd.utility.Messages;
import me.mattstudios.mf.annotations.Alias;
import me.mattstudios.mf.annotations.Command;
import me.mattstudios.mf.annotations.Default;
import me.mattstudios.mf.annotations.Permission;
@ -23,7 +22,6 @@ public class HelpCommand extends CommandBase {
}
@Default
@Alias("help")
@Permission("citizenscmd.npcmd")
public void help(Player player) {
JSONMessage.create(color(HEADER)).send(player);

View File

@ -24,8 +24,7 @@ public class SpigotUpdater {
this.project = projectID;
try {
this.checkURL = new URL("https://api.spigotmc.org/legacy/update.php?resource=" + projectID);
} catch (MalformedURLException e) {
System.out.println("Could not check for plugin update.");
} catch (MalformedURLException ignored) {
}
}

View File

@ -86,7 +86,6 @@ public class Util {
}
public static void setUpMetrics(Metrics metrics, FileConfiguration config) {
System.out.println("here");
metrics.addCustomChart(new Metrics.SimplePie("lang", () -> {
switch (Objects.requireNonNull(config.getString("lang", "en")).toLowerCase()) {
case "en":

View File

@ -14,8 +14,6 @@ api-version: 1.13
commands:
npcmd add:
description: Adds command to the NPC.
npcmd help:
description: Displays help
npcmd cooldown:
description: Sets the cooldown for the NPC
npcmd price: