mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-06-13 13:39:28 +00:00
make sure we check for canceled events
This commit is contained in:
@@ -39,7 +39,7 @@ public class PlayerMove implements Listener {
|
||||
this.toolStats = toolStats;
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
public void onMove(PlayerMoveEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
if (!toolStats.configTools.checkWorld(player.getWorld().getName())) {
|
||||
|
||||
Reference in New Issue
Block a user