diff --git a/vMinecraftUsers.java b/vMinecraftUsers.java index 7dc332c9b..59d7e85a5 100644 --- a/vMinecraftUsers.java +++ b/vMinecraftUsers.java @@ -213,15 +213,8 @@ class PlayerList String[] parts = alias.split("@"); if(parts.length > 1) { - //Get the arguments for the alias if there are any - String[] command = parts[1].split(" "); - String[] args = null; - if(command.length > 1) - System.arraycopy(command, 1, args, - 0, command.length - 2); - //Register the alias to the player's aliasList - aliasList.registerAlias(parts[0], command[0], args); + aliasList.registerAlias(parts[0], parts[2]); } } } @@ -320,18 +313,6 @@ class PlayerList aliasList.registerAlias(name, callCommand); } - //===================================================================== - //Function: addAlias - //Input: String command: The command to try to call - // String[] args: The arguments for the command - //Output: None - //Use: Adds a command - //===================================================================== - public void addAlias(String name, String callCommand, String[] args) - { - aliasList.registerAlias(name, callCommand, args); - } - //===================================================================== //Function: callAlias //Input: String command: The command to try to call