Now it extends PluginListener

This commit is contained in:
nossr50 2011-01-07 21:43:08 -08:00
parent 44e172369f
commit 8f5073a447

View File

@ -1,8 +1,8 @@
public class vConsole {
public class vConsole extends PluginListener {
public boolean onConsoleCommand(String[] split) {
String args = etc.combineSplit(1, split, "");
//Return true if you don't want the server command to be parsed by the server.
String server = Colors.LightGreen + "[Server]" + Colors.DarkPurple;
String server = Colors.LightGreen + "[Server] " + Colors.DarkPurple;
if(split[0].equalsIgnoreCase("stop")){
vChat.gmsg(server + "Rebooting the server");
return false;