More updates. ALMOST DONE.

This commit is contained in:
GJ
2012-04-22 20:00:31 -04:00
parent c18b3e9114
commit 3c748bca39
5 changed files with 56 additions and 55 deletions

View File

@ -65,9 +65,14 @@ public class ACommand implements CommandExecutor {
Player player = (Player) sender;
PP = Users.getProfile(player);
PP.toggleAdminChat();
player.chat(message);
PP.toggleAdminChat();
if (PP.getAdminChatMode()) {
player.chat(message);
}
else {
PP.toggleAdminChat();
player.chat(message);
PP.toggleAdminChat();
}
}
else {
McMMOAdminChatEvent chatEvent = new McMMOAdminChatEvent("Console", message);

View File

@ -23,7 +23,6 @@ public class AcceptCommand implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (CommandHelper.noConsoleUsage(sender)) {
return true;
}

View File

@ -71,9 +71,14 @@ public class PCommand implements CommandExecutor {
message = message + " " + args [i];
}
PP.togglePartyChat();
player.chat(message);
PP.togglePartyChat();
if (PP.getPartyChatMode()) {
player.chat(message);
}
else {
PP.togglePartyChat();
player.chat(message);
PP.togglePartyChat();
}
}
else {
if (args.length < 2) {