(node:14808) UnhandledPromiseRejectionWarning: TypeError: player.setMaxTimeUnderwater is not a function
at Query.<anonymous> (C:\Users\reeko\Desktop\packages\jobs\diver.js:43:20)
at Query.<anonymous> (C:\Users\reeko\Desktop\node_modules\mysql\lib\Connection.js:526:10)
at Query._callback (C:\Users\reeko\Desktop\node_modules\mysql\lib\Connection.js:488:16)
at Query.Sequence.end (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24)
at Query._handleFinalResultPacket (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\sequences\Query.js:149:8)
at Query.OkPacket (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\sequences\Query.js:74:10)
at Protocol._parsePacket (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\Protocol.js:291:23)
at Parser._parsePacket (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\Parser.js:433:10)
at Parser.write (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\Parser.js:43:10)
at Protocol.write (C:\Users\reeko\Desktop\node_modules\mysql\lib\protocol\Protocol.js:38:16)
(Use `ragemp-server --trace-warnings ...` to show where the warning was created)
(node:14808) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14808) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.