mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
actually do ignore cancelled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user