actually do ignore cancelled

This commit is contained in:
okx-code
2026-07-01 04:28:19 +01:00
parent 72548ce294
commit 8ae9b0e77d

View File

@@ -65,12 +65,12 @@ public class ActivityManager implements Listener {
}
}
@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void on(BlockBreakEvent event) {
recordActivity(event.getPlayer(), Activity.MINING);
}
@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void on(BlockPlaceEvent event) {
recordActivity(event.getPlayer(), Activity.MINING);
}