-
Notifications
You must be signed in to change notification settings - Fork 65
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
fix: [EXILED::Events]
Fixed the ChangingRoleAndSpawned.ChangeInventory
NullReferenceException skill issue
#172
Conversation
Suggestion ExMod-Team#1 Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>
Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>
private methods should be defined after public ones
Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>
Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>
Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>
This do not fix the issue than the event argument is null |
not an EXILED bug if the function receive a null argument ig |
it's not null argument inside the event it's null event so yes it's exiled bug |
if (ev == null) should be always useless |
[EXILED::Events]
Fixed the ChangingRoleAndSpawned.ChangeInventory
NullReferenceException skill issue[EXILED::Events]
Fixed the ChangingRoleAndSpawned.ChangeInventory
NullReferenceException skill issue
Description
Fixed the
System.NullReferenceException: Object reference not set to an instance of an object
that could happen when the methodExiled.Events.Patches.Events.Player.ChangingRoleAndSpawned.ChangeInventory
for some reasonWhat is the current behavior?
The error trigger me >:(
What is the new behavior?
No more error (stonks!)
Does this PR introduce a breaking change?
Nop
Other information:
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other