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);
}
}
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();