mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Raw...
This commit is contained in:
parent
1c14889bdf
commit
fbca5f0527
@ -6,7 +6,6 @@ import java.util.Iterator;
|
||||
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;
|
||||
@ -35,8 +34,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)
|
||||
{
|
||||
@ -665,7 +662,7 @@ public class TFM_PlayerListener implements Listener
|
||||
}
|
||||
|
||||
// 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)
|
||||
@ -685,7 +682,7 @@ public class TFM_PlayerListener implements Listener
|
||||
}
|
||||
|
||||
// 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)
|
||||
@ -699,7 +696,7 @@ public class TFM_PlayerListener implements Listener
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user