Misc Fixes

This commit is contained in:
cerevisiae 2010-12-01 10:39:57 -06:00
parent acf1b5261d
commit 2fb729fbfe

View File

@ -34,16 +34,17 @@ public class vMinecraftCommands{
cl.register("/fabulous", "fabulous", "makes text SUUUPER");
cl.register("/whois", "whois", "/whois [user]");
cl.register("/who", "who");
cl.registerAlias("/playerlist", "/who");
cl.register("/say", "say");
cl.register("/slay", "slay", "Kill target player");
cl.register("/ezmodo", "invuln", "Toggle invulnerability");
cl.register("/ezlist", "ezlist", "List invulnerable players");
cl.register("/heal", "heal", "heal yourself or other players");
cl.register("/suicide", "suicide", "kill yourself... you loser");
cl.register("/a", "adminChatToggle", "toggle admin chat for every message");
cl.register("/modify", "modifySplit");
cl.registerAlias("/playerlist", "/who");
cl.registerAlias("/wrists", "/suicide");
cl.register("/a", "adminChatToggle", "toggle admin chat for every message");
cl.registerAlias("/admin", "/a");
cl.register("/modify", "modifySplit");
cl.registerAlias("/ci", "/clearinventory");
}
//=====================================================================
@ -54,7 +55,7 @@ public class vMinecraftCommands{
// send will be piped to admin chat.
//=====================================================================
public static int adminChatToggle(Player player)
public static int adminChatToggle(Player player, String[] args)
{
if(vMinecraftSettings.getInstance().adminChatToggle())
{
@ -71,6 +72,7 @@ public class vMinecraftCommands{
}
return EXIT_FAIL;
}
//=====================================================================
//Function: heal (/heal)
//Input: Player player: The player using the command