Class PlayerMove

  • All Implemented Interfaces:
    org.bukkit.event.Listener

    public class PlayerMove
    extends Mechanic
    Handles the player move event.
    • Constructor Detail

      • PlayerMove

        public PlayerMove()
    • Method Detail

      • onPlayerMove

        public void onPlayerMove​(org.bukkit.event.player.PlayerMoveEvent event)
        This checks if the player moves after accepting a summon request. If the player moves then they will not be teleported.
        Parameters:
        event - the event