Skip to content

Commit 72869b7

Browse files
author
Bayside308
authored
Update BuycraftCommand.java
1 parent 202f9e3 commit 72869b7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Buycraft/commands/BuycraftCommand.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public String getCommandName() {
2121

2222
@Override
2323
public List<String> getAliases() {
24-
List Arrays;
25-
return Arrays.asList("buycraft");
24+
return null;
2625
}
2726

2827
@Override
@@ -127,7 +126,7 @@ public void handleCommand(MC_Player player, String[] args) {
127126
player.sendMessage(Chat.seperator());
128127
player.sendMessage(Chat.seperator() + ChatColor.LIGHT_PURPLE + "Server ID: " + ChatColor.GREEN + String.valueOf(plugin.getServerID()));
129128
player.sendMessage(Chat.seperator() + ChatColor.LIGHT_PURPLE + "Server URL: " + ChatColor.GREEN + String.valueOf(plugin.getServerStore()));
130-
player.sendMessage(Chat.seperator() + ChatColor.LIGHT_PURPLE + "Version: " + ChatColor.GREEN + String.valueOf(plugin.getVersion()) + ChatColor.GOLD + " Project Rails");
129+
player.sendMessage(Chat.seperator() + ChatColor.LIGHT_PURPLE + "Version: " + ChatColor.GREEN + String.valueOf(MyPlugin.version));
131130
player.sendMessage(Chat.seperator() + ChatColor.LIGHT_PURPLE + "Website: " + ChatColor.GREEN + "https://github.com/Project-Rails/Buycraft");
132131
player.sendMessage(Chat.footer());
133132
}

0 commit comments

Comments
 (0)