mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 11:36:11 +01:00
Set WorldGuardPlayerListener.PlayerMoveHandler to default visibility, to fix a warning about unused methods.
This commit is contained in:
parent
1d9908e1f6
commit
18814c7373
@ -96,14 +96,14 @@ public void registerEvents() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user