Skip to content

errors #101

@ahgfdiew

Description

@ahgfdiew

Were having some custom item issues, with the tranquilizer gun for some reason it made peanut really small and invincible permenantly. I think it also couldnt move.
8.8.0

I dont really have all the issues, but I do have an error
[Exiled.API] Method "OnInternalShooting" of the class "Exiled.CustomItems.API.Features.CustomWeapon" caused an exception when handling the event "Exiled.Events.Features.Event1[[Exiled.Events.EventArgs.Player.ShootingEventArgs, Exiled.Events, Version=8.8.0.0, Culture=neutral, PublicKeyToken=null]]" System.InvalidCastException: Specified cast is not valid. at Exiled.API.Features.Items.ExplosiveGrenade..ctor (InventorySystem.Items.ThrowableProjectiles.ThrowableItem itemBase) [0x0000e] in <868ca47541404ee996f38e7c6b477102>:0 at Exiled.API.Features.Items.ExplosiveGrenade..ctor (ItemType type, Exiled.API.Features.Player player) [0x0001d] in <868ca47541404ee996f38e7c6b477102>:0 at Exiled.API.Features.Player.ThrowGrenade (Exiled.API.Enums.ProjectileType type, System.Boolean fullForce) [0x00022] in <868ca47541404ee996f38e7c6b477102>:0 at CustomItems.Items.GrenadeLauncher.OnShooting (Exiled.Events.EventArgs.Player.ShootingEventArgs ev) [0x00077] in <3af8b603ee084f0d9058c72981b9c5b7>:0 at Exiled.CustomItems.API.Features.CustomWeapon.OnInternalShooting (Exiled.Events.EventArgs.Player.ShootingEventArgs ev) [0x00014] in <a55a81e64a804f3cad5785fdd53969b3>:0 at Exiled.Events.Features.Event1[T].InvokeNormal (T arg) [0x00028] in <8eab984dbf6048c9afb11c5a44184c52>:0
[Exiled.API] DoTranquilize: System.NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
at Exiled.API.Features.Ragdoll.get_GameObject () [0x00006] in <21000b3683a14bb48706805a67ca82a3>:0
at CustomItems.Items.TranquilizerGun+d__57.MoveNext () [0x003e2] in <3af8b603ee084f0d9058c72981b9c5b7>:0

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