Class VehicleMenu
java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVSubCommand
nl.mtvehicles.core.commands.vehiclesubs.VehicleMenu
/vehicle menu - open a GUI menu of all the vehicles.
-
Field Summary
Fields inherited from class nl.mtvehicles.core.infrastructure.models.MTVSubCommand
arguments, isPlayer, player, sender
-
Constructor Summary
-
Method Summary
Methods inherited from class nl.mtvehicles.core.infrastructure.models.MTVSubCommand
checkPermission, getVehicle, isHoldingVehicle, isPlayerCommand, onExecute, sendMessage, sendMessage, setPlayerCommand
-
Field Details
-
beginMenu
-
-
Constructor Details
-
VehicleMenu
public VehicleMenu()
-
-
Method Details
-
execute
public boolean execute()Description copied from class:MTVSubCommand
Code executed by a subcommand- Specified by:
execute
in classMTVSubCommand
- Returns:
- True if successful
-