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 sh_item.lua ITEM:Remove() client #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lucasgood5
Copy link

Found an issue where using ITEM:Remove() inside a item.function and not returning value make the item try to delete twice, causing an error on line 446/447 : inv.slots[x][y] = v.id where it try to index nil value and crash the whole inventory (client side only) .

This add could fix this error.

Found an issue where using ITEM:Remove() inside a item.function and not returning value make the item try to delete twice, causing an error on line 446/447 : `inv.slots[x][y] = v.id` where it try to index nil value.

This add should fix this error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant