From 830ffff022e45bdb5ee4500f197543cffa2641f0 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Wed, 1 Jun 2016 09:19:29 -0700 Subject: [PATCH] Auto leave log message to debug mode. --- .../com/massivecraft/factions/util/AutoLeaveProcessTask.java | 2 +- .../com/massivecraft/factions/zcore/persist/MemoryFPlayer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/util/AutoLeaveProcessTask.java b/src/main/java/com/massivecraft/factions/util/AutoLeaveProcessTask.java index 7e62fc8e..df8d4f52 100644 --- a/src/main/java/com/massivecraft/factions/util/AutoLeaveProcessTask.java +++ b/src/main/java/com/massivecraft/factions/util/AutoLeaveProcessTask.java @@ -56,7 +56,7 @@ public class AutoLeaveProcessTask extends BukkitRunnable { if (fplayer.isOffline() && now - fplayer.getLastLoginTime() > toleranceMillis) { 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 diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java index dea283ee..a8e99b9e 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java @@ -57,7 +57,7 @@ public abstract class MemoryFPlayer implements FPlayer { protected int warmupTask; protected boolean isAdminBypassing = false; 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 boolean mapAutoUpdating;