update raknet to fix errors, display errors in example

This commit is contained in:
Romain Beaumont 2016-04-03 02:36:29 +02:00
commit 6987c3d03b
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,6 @@ var server = pmp.createServer({
server.on('connection', function(client) {
client.on('unconnected_ping', function(packet) {
console.log(packet);
client.write('unconnected_pong', {
pingID: packet.pingID,
serverID: 0,
@ -22,6 +21,6 @@ server.on('connection', function(client) {
});
client.on('error', function(err) {
// ignore it
console.log(err.stack);
});
});

View file

@ -19,7 +19,7 @@
"dependencies": {
"prismarine-nbt": "^0.2.2",
"protodef": "^1.2.0",
"raknet": "^1.3.0"
"raknet": "^1.3.1"
},
"devDependencies": {},
"repository": {