Class VehicleAddRider

java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVSubCommand
nl.mtvehicles.core.commands.vehiclesubs.VehicleAddRider

public class VehicleAddRider extends MTVSubCommand
/vehicle addrider %player% - add a player who may steer the vehicle the player is sitting in (if they are its owner) OR player's held vehicle.
  • Constructor Details

    • VehicleAddRider

      public VehicleAddRider()
  • Method Details

    • execute

      public boolean execute()
      Description copied from class: MTVSubCommand
      Code executed by a subcommand
      Specified by:
      execute in class MTVSubCommand
      Returns:
      True if successful