diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java index 5da28f0e7..6284bea6b 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java @@ -299,6 +299,11 @@ public class Commandessentials extends EssentialsCommand { user.setLastLogin(currTime); } + + if (user.isNPC()) + { + continue; + } long timeDiff = currTime - lastLog; long milliDays = daysArg * 24L * 60L * 60L * 1000L;