diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-03 09:08:56 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-03 09:08:56 +0000 |
commit | 61c4d8cb5e43fd07ba6fac4cb859539a61cf5035 (patch) | |
tree | f003e08387cf968b3744d424811fafebc2b9ffbc | |
parent | 61903355cd4817055ab2144097284ccac0861664 (diff) | |
download | Essentials-61c4d8cb5e43fd07ba6fac4cb859539a61cf5035.tar Essentials-61c4d8cb5e43fd07ba6fac4cb859539a61cf5035.tar.gz Essentials-61c4d8cb5e43fd07ba6fac4cb859539a61cf5035.tar.lz Essentials-61c4d8cb5e43fd07ba6fac4cb859539a61cf5035.tar.xz Essentials-61c4d8cb5e43fd07ba6fac4cb859539a61cf5035.zip |
Update afk status on block interact
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index d182c5656..56098832e 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -417,6 +417,7 @@ public class EssentialsPlayerListener implements Listener if (event.getItem() != null && event.getItem().getTypeId() != AIR) { final User user = ess.getUser(event.getPlayer()); + user.updateActivity(true); if (user.hasPowerTools() && user.arePowerToolsEnabled() && usePowertools(user, event.getItem().getTypeId())) { event.setCancelled(true); |