Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors #101

Open
ahgfdiew opened this issue Feb 8, 2024 · 0 comments
Open

errors #101

ahgfdiew opened this issue Feb 8, 2024 · 0 comments

Comments

@ahgfdiew
Copy link

ahgfdiew commented Feb 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant