Auto leave log message to debug mode.

This commit is contained in:
Trent Hensler 2016-06-01 09:19:29 -07:00
parent 0df6e4aa45
commit 830ffff022
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class AutoLeaveProcessTask extends BukkitRunnable {
if (fplayer.isOffline() && now - fplayer.getLastLoginTime() > toleranceMillis) { if (fplayer.isOffline() && now - fplayer.getLastLoginTime() > toleranceMillis) {
if (Conf.logFactionLeave || Conf.logFactionKick) { if (Conf.logFactionLeave || Conf.logFactionKick) {
P.p.log("Player " + fplayer.getName() + " was auto-removed due to inactivity."); P.p.debug("Player " + fplayer.getName() + " was auto-removed due to inactivity.");
} }
// if player is faction admin, sort out the faction since he's going away // if player is faction admin, sort out the faction since he's going away

View File

@ -57,7 +57,7 @@ public abstract class MemoryFPlayer implements FPlayer {
protected int warmupTask; protected int warmupTask;
protected boolean isAdminBypassing = false; protected boolean isAdminBypassing = false;
protected int kills, deaths; protected int kills, deaths;
protected boolean willAutoLeave; protected boolean willAutoLeave = true;
protected transient FLocation lastStoodAt = new FLocation(); // Where did this player stand the last time we checked? protected transient FLocation lastStoodAt = new FLocation(); // Where did this player stand the last time we checked?
protected transient boolean mapAutoUpdating; protected transient boolean mapAutoUpdating;