diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java index 47ff8078..17c6beef 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java @@ -95,15 +95,15 @@ public void registerEvents() { pm.registerEvents(new PlayerMoveHandler(), plugin); } } - - private class PlayerMoveHandler implements Listener { - /** - * Called when a player attempts to move. - * - * @param event - */ - @EventHandler(priority = EventPriority.HIGH) - public void onPlayerMove(PlayerMoveEvent event) { + + class PlayerMoveHandler implements Listener { + /** + * Called when a player attempts to move. + * + * @param event + */ + @EventHandler(priority = EventPriority.HIGH) + public void onPlayerMove(PlayerMoveEvent event) { Player player = event.getPlayer(); World world = player.getWorld();