mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -04:00
Don't bubble up errors from the client to the server
This commit is contained in:
parent
a4f34a7943
commit
c7841e98d8
@ -34,9 +34,6 @@ Server.prototype.listen = function(port, host) {
|
||||
};
|
||||
client.id = nextId++;
|
||||
self.clients[client.id] = client;
|
||||
client.on('error', function(err) {
|
||||
self.emit('error', err);
|
||||
});
|
||||
client.on('end', function() {
|
||||
delete self.clients[client.id];
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user