mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-12 11:56:43 +01:00
Auto leave log message to debug mode.
This commit is contained in:
parent
0df6e4aa45
commit
830ffff022
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user