forked from Upstream/CitizensCMD
Small changes.
This commit is contained in:
parent
997642c7ec
commit
3344a95f85
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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":
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user