diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandessentials.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandessentials.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java index 126566e3e..ae2a368e2 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java @@ -3,7 +3,6 @@ package com.earth2me.essentials.commands; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.User; import com.earth2me.essentials.UserMap; -import com.earth2me.essentials.utils.StringUtil; import com.earth2me.essentials.metrics.Metrics; import com.earth2me.essentials.utils.DateUtil; import com.earth2me.essentials.utils.NumberUtil; @@ -250,7 +249,7 @@ public class Commandessentials extends EssentialsCommand } int ban = user.getBanReason().equals("") ? 0 : 1; - + long lastLog = user.getLastLogout(); if (lastLog == 0) { @@ -260,7 +259,7 @@ public class Commandessentials extends EssentialsCommand { user.setLastLogin(currTime); } - + long timeDiff = currTime - lastLog; long milliDays = daysArg * 24L * 60L * 60L * 1000L; int homeCount = user.getHomes().size(); |