Set WorldGuardPlayerListener.PlayerMoveHandler to default visibility, to fix a warning about unused methods.

This commit is contained in:
TomyLobo 2012-02-14 02:32:35 +01:00
parent 1d9908e1f6
commit 18814c7373

View File

@ -95,15 +95,15 @@ public void registerEvents() {
pm.registerEvents(new PlayerMoveHandler(), plugin); pm.registerEvents(new PlayerMoveHandler(), plugin);
} }
} }
private class PlayerMoveHandler implements Listener { class PlayerMoveHandler implements Listener {
/** /**
* Called when a player attempts to move. * Called when a player attempts to move.
* *
* @param event * @param event
*/ */
@EventHandler(priority = EventPriority.HIGH) @EventHandler(priority = EventPriority.HIGH)
public void onPlayerMove(PlayerMoveEvent event) { public void onPlayerMove(PlayerMoveEvent event) {
Player player = event.getPlayer(); Player player = event.getPlayer();
World world = player.getWorld(); World world = player.getWorld();