fix: Crash while previewing/spawning unreleased vehicles (#438)
This commit is contained in:
parent
b4700d40d8
commit
fccf5c0104
@ -235,6 +235,7 @@ namespace big
|
|||||||
if (
|
if (
|
||||||
item_json["Hash"].is_null() ||
|
item_json["Hash"].is_null() ||
|
||||||
item_json["Name"].is_null() ||
|
item_json["Name"].is_null() ||
|
||||||
|
item_json["MonetaryValue"] == 0 ||
|
||||||
!item_json["Bones"].is_array() ||
|
!item_json["Bones"].is_array() ||
|
||||||
item_json["Bones"][0] == "stub"
|
item_json["Bones"][0] == "stub"
|
||||||
) {
|
) {
|
||||||
|
Reference in New Issue
Block a user