When players enable/disable admin bypass mode (/f bypass), it is now logged to the server console/log.

This commit is contained in:
Brettflan 2011-09-22 06:23:25 -05:00
parent 34e4afee2c
commit fa21358a23

View File

@ -24,9 +24,11 @@ public class FCommandBypass extends FBaseCommand {
if ( ! Conf.adminBypassPlayers.contains(player.getName())) {
Conf.adminBypassPlayers.add(player.getName());
me.sendMessage("You have enabled admin bypass mode. You will be able to build or destroy anywhere.");
Factions.log(player.getName() + " has ENABLED admin bypass mode.");
} else {
Conf.adminBypassPlayers.remove(player.getName());
me.sendMessage("You have disabled admin bypass mode.");
Factions.log(player.getName() + " DISABLED admin bypass mode.");
}
}
}