Class VehicleTrunk

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

public class VehicleTrunk extends MTVSubCommand
/vehicle trunk - open the trunk of the vehicle the player is sitting in (if they are its owner) OR player's held vehicle.
  • Constructor Details

    • VehicleTrunk

      public VehicleTrunk()
  • 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