Skip to content

/v command doesnt work anymore after the new update. #809

Description

@Pain260495

[uEssentials] [ERROR] An error ocurred while executing command: 'v 1'
[uEssentials] [ERROR] System.InvalidCastException: Specified cast is not valid.
at Essentials.Common.Util.VehicleUtil.GetVehicle (System.UInt16 id) [0x00008] in :0
at Essentials.Common.Util.VehicleUtil.GetVehicle (System.String name) [0x00025] in :0
at Essentials.Commands.MiscCommands.VehicleCommand (Essentials.Api.Command.Source.ICommandSource src, Essentials.Api.Command.ICommandArgs args, Essentials.Api.Command.ICommand cmd) [0x00049] in :0
at Essentials.Core.Command.MethodCommand.OnExecute (Essentials.Api.Command.Source.ICommandSource source, Essentials.Api.Command.ICommandArgs args) [0x00018] in :0
at Essentials.Core.Command.CommandAdapter.Execute (Rocket.API.IRocketPlayer caller, System.String[] args) [0x00115] in :0

when i tried to spawn any vanilla vehicle with name or id this error appear. But if i do /v with modded vehicle it work fine but has to use exact id not with name anymore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions