fix(addCommand): catch errors in command handler

+ additional minor changes.
Use DoesPlayerExist native.
Mark addCommand cb as async.
This commit is contained in:
Linden
2024-01-17 16:42:26 +11:00
parent f98e2bbc1f
commit fd112ca03c
4 changed files with 171 additions and 157 deletions

View File

@@ -29,12 +29,12 @@
"typescript": "^5.3.3"
},
"devDependencies": {
"@types/node": "16.9.1",
"@types/react": "^18.0.26",
"@citizenfx/client": "2.0.5885-1",
"@citizenfx/server": "2.0.5885-1",
"@citizenfx/client": "latest",
"@citizenfx/server": "latest",
"@fortawesome/fontawesome-common-types": "6.1.1",
"@mantine/core": "^6.0.10",
"prettier": "^2.8.1"
"@mantine/core": "^6.0.21",
"@types/node": "16.9.1",
"@types/react": "^18.2.48",
"prettier": "^2.8.8"
}
}