Changed the event priority of the player teleport listener to MONITOR.

This commit is contained in:
Tobias Ottenweller 2013-07-10 22:02:05 +02:00
parent 7673c3f674
commit 2150cc66d0

View File

@ -25,7 +25,7 @@ import org.bukkit.event.player.PlayerTeleportEvent;
public class PlayerTeleportListener implements Listener public class PlayerTeleportListener implements Listener
{ {
@EventHandler(priority = EventPriority.NORMAL) @EventHandler(priority = EventPriority.MONITOR)
public void onPlayerTeleport(PlayerTeleportEvent event) public void onPlayerTeleport(PlayerTeleportEvent event)
{ {
if (event.isCancelled()) { if (event.isCancelled()) {