Check if driver class inherits the Driver class.
Set player's gamemode to adventure, to be sure they can't break blocks.