Introduced version command, fixed #58

This commit is contained in:
Rammelkast committed 2020-04-01 12:53:25 +02:00
1 parent d41d08ccc6
commit 7e37e8558b
7 files changed
+115 -40

No files matched your search

@@ -65,7 +65,11 @@ public class CommandBase {
if (permission.get(cs)) {
execute(cs, args);
} else {
cs.sendMessage(PERMISSIONS_ERROR + " (" + WHITE + permission.toString() + RED + ")");
if (args == null) {
cs.sendMessage(GOLD + "" + ChatColor.BOLD + "AntiCheatReloaded " + GRAY + "version " + AntiCheatReloaded.getVersion());
} else {
cs.sendMessage(PERMISSIONS_ERROR + " (" + WHITE + permission.toString() + RED + ")");
}
}
}