[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.
[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.