Class VehicleEdit

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

public class VehicleEdit extends MTVSubCommand
/vehicle edit - edit held vehicle's specifications (in a GUI).
  • Constructor Details

    • VehicleEdit

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

      public static void editMenu(org.bukkit.entity.Player p, org.bukkit.inventory.ItemStack item)
      Open /vehicle edit GUI menu to a player
      Parameters:
      p - Player
      item - Vehicle item