-
Notifications
You must be signed in to change notification settings - Fork 380
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: amount is nil in GetTotalWeight
+ misc lint issues
#517
base: main
Are you sure you want to change the base?
Conversation
That last nil value in the lint report is fixed by my other PR. |
GetTotalWeight
GetTotalWeight
+ misc lint issues
I have personally tried this and cannot replicate the issue, how recent is all your qb files? If up to date is there any errors before this? |
Ran a completely fresh install a couple minutes before this. |
Perhaps this issue was caused by going from the old inventory and such, to the new inventory. |
This PR has had 60 days of inactivity & will close within 7 days |
Description
Upon running
/giveitem 1 radio 1
, you'll run into the following error.(First print is raw item json, second print is weight & amount)
Perhaps this should be looked into more deeply, as the amount value should be defined here.
Aswell as the fact that this error might be happening at other places
Perhaps, this is caused by the radio being a unique item?
Checklist