Skip to content

Commit

Permalink
Raw...
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilee999 authored and Wilee999 committed Feb 19, 2014
1 parent 1c14889 commit fbca5f0
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.List;
import java.util.Map.Entry;
import java.util.regex.Pattern;
import java.util.logging.Logger;
import me.StevenLawson.TotalFreedomMod.*;
import me.StevenLawson.TotalFreedomMod.Commands.Command_landmine;
import me.StevenLawson.TotalFreedomMod.TFM_RollbackManager.RollbackEntry;
Expand Down Expand Up @@ -34,8 +33,6 @@ public class TFM_PlayerListener implements Listener
{
private static final List<String> BLOCKED_MUTED_CMDS = Arrays.asList(StringUtils.split("say,me,msg,m,tell,r,reply,mail,email", ","));
private static final int MSG_PER_HEARTBEAT = 10;

public static final Logger log = Bukkit.getLogger();

@EventHandler(priority = EventPriority.HIGH)
public void onPlayerInteract(PlayerInteractEvent event)
Expand Down Expand Up @@ -665,7 +662,7 @@ public void onPlayerKick(PlayerKickEvent event)
}

// Log player quitting, because 1.7 doesn't do this
log.info("[EXIT] " + player.getName() + " left the game.");
TFM_Log.info("[EXIT] " + player.getName() + " left the game.", true);
}

@EventHandler(priority = EventPriority.MONITOR)
Expand All @@ -685,7 +682,7 @@ public void onPlayerQuit(PlayerQuitEvent event)
}

// Log player quitting, because 1.7 doesn't do this
log.info("[EXIT] " + player.getName() + " left the game.");
TFM_Log.info("[EXIT] " + player.getName() + " left the game.", true);
}

@EventHandler(priority = EventPriority.MONITOR)
Expand All @@ -699,7 +696,7 @@ public void onPlayerJoin(PlayerJoinEvent event)
final String IP = player.getAddress().getAddress().getHostAddress().trim();

// Log join message, as 1.7 doesn't log it anymore
log.info("[JOIN] " + player.getName() + " joined the game with IP address: " + IP);
TFM_Log.info("[JOIN] " + player.getName() + " joined the game with IP address: " + IP, true);

TFM_UserList.getInstance(TotalFreedomMod.plugin).addUser(player);

Expand Down

0 comments on commit fbca5f0

Please sign in to comment.