From 61c4d8cb5e43fd07ba6fac4cb859539a61cf5035 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Mon, 3 Dec 2012 09:08:56 +0000 Subject: [PATCH] Update afk status on block interact --- .../src/com/earth2me/essentials/EssentialsPlayerListener.java | 1 + 1 file changed, 1 insertion(+) 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);