Boat PlayerMoveEvent canceln, bug or mistake ?

      I want to make a plugin that Players can't drive in a Vehicle but they can sit in the Vehicle

      Video https://youtu.be/0eXJmw5c0UU

      Code:

      @EventHandler
      public void onMove(PlayerMoveEvent e)
      {
      	if(e.getPlayer().isInsideVehicle())
      	{
      		e.setCancelled(true);
      	}
      }
      

            Assignee:
            Unassigned
            Reporter:
            Jan U
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: