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

Fix invalid return of of e:weapon() #3238

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

Astralcircle
Copy link
Contributor

If the player does not have a weapon, it will return nil, not an entity

@thegrb93 thegrb93 merged commit 886ef66 into wiremod:master Jan 4, 2025
1 check passed
@Astralcircle Astralcircle deleted the invalidreturn branch January 4, 2025 02:06
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

Successfully merging this pull request may close these issues.

2 participants