Browse Source

Now it extends PluginListener

nossr50 14 years ago
parent
commit
8f5073a447
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vConsole.java

+ 2 - 2
vConsole.java

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