Changed the event priority of the player teleport listener to MONITOR
.
This commit is contained in:
parent
7673c3f674
commit
2150cc66d0
@ -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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user