From fa21358a230cfbb6e756be69e3f86da41415223c Mon Sep 17 00:00:00 2001 From: Brettflan Date: Thu, 22 Sep 2011 06:23:25 -0500 Subject: [PATCH] When players enable/disable admin bypass mode (/f bypass), it is now logged to the server console/log. --- src/com/massivecraft/factions/commands/FCommandBypass.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/massivecraft/factions/commands/FCommandBypass.java b/src/com/massivecraft/factions/commands/FCommandBypass.java index f58c2da0..b033b42f 100644 --- a/src/com/massivecraft/factions/commands/FCommandBypass.java +++ b/src/com/massivecraft/factions/commands/FCommandBypass.java @@ -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."); } } }