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
I was testing sample server code. And i just had tried use /attach command with an entity selector, and server crashed
\flying-squid\src\lib\plugins\commands.js:11elsesetTimeout(()=>{throwerr},0)^TypeError: Cannotreadpropertiesofnull(reading'1')atserv.selectorString(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\plugins\commands.js:282:14)atentity.selectorString(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\plugins\commands.js:17:41)atparse(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\plugins\spawn.js:184:48)atCommand.use(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\command.js:35:28)atplayer.handleCommand(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\plugins\commands.js:7:39)
at C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\plugins\chat.js:125:89atEntity.behavior(C:\Users\Nathan\Documents\Minecraft\Servers\basic-server-node\node_modules\flying-squid\src\lib\behavior.js:24:14)atprocess.processTicksAndRejections(node:internal/process/task_queues:95:5)Node.jsv18.10.0
Instead propagate entire error, why just forward to error and clientError events as described in docs
UPDATE: I had to set unhandled exception hook in nodejs to don't close server:
I was testing sample server code. And i just had tried use /attach command with an entity selector, and server crashed
Instead propagate entire error, why just forward to
error
andclientError
events as described in docsUPDATE: I had to set unhandled exception hook in nodejs to don't close server:
Log
The text was updated successfully, but these errors were encountered: