stuff seth missed

admin -> staff
This commit is contained in:
speedxx
2020-08-15 12:35:48 -04:00
parent 3f4d34d172
commit 78b73b3b63
36 changed files with 148 additions and 159 deletions

View File

@ -19,19 +19,18 @@ public class Command_staffchat extends FreedomCommand
{
if (senderIsConsole)
{
msg("You must be in-game to toggle admin chat, it cannot be toggled via CONSOLE or Telnet.");
msg("You must be in-game to toggle staff chat, it cannot be toggled via CONSOLE or Telnet.");
return true;
}
FPlayer userinfo = plugin.pl.getPlayer(playerSender);
userinfo.setAdminChat(!userinfo.inAdminChat());
msg("Toggled your staff chat " + (userinfo.inAdminChat() ? "on" : "off") + ".");
userinfo.setStaffChat(!userinfo.inStaffChat());
msg("Toggled your staff chat " + (userinfo.inStaffChat() ? "on" : "off") + ".");
}
else
{
plugin.cm.staffChat(sender, StringUtils.join(args, " "));
}
return true;
}
}