You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the sourcepawn native json_object_get_float() (and possibly others), where json_object_get() is used, the error case of json_object_get() is not covered.
For the store plugin, this leads to errors in console if an item does not have a specific attribute.
Tough it's possible to overcome this by checking if json_object_get(Handle, attribute string) returns INVALID_HANDLE, before calling json_object_get_float() and the like.
The text was updated successfully, but these errors were encountered:
In the sourcepawn native
json_object_get_float()
(and possibly others), wherejson_object_get()
is used, the error case ofjson_object_get()
is not covered.For the store plugin, this leads to errors in console if an item does not have a specific attribute.
Tough it's possible to overcome this by checking if
json_object_get(Handle, attribute string)
returns INVALID_HANDLE, before callingjson_object_get_float()
and the like.The text was updated successfully, but these errors were encountered: