update raknet : encapsulated packet now emit actual errors
This commit is contained in:
parent
9cdc10f9af
commit
9041e3065a
2 changed files with 4 additions and 4 deletions
|
|
@ -17,9 +17,9 @@ var server = pmp.createServer({
|
|||
server.on('connection', function(client) {
|
||||
|
||||
|
||||
client.on("mcpe",packet => {
|
||||
console.log(packet);
|
||||
});
|
||||
client.on("mcpe",packet => console.log(packet));
|
||||
|
||||
|
||||
client.on("game_login",packet => {
|
||||
client.writeMCPE("player_status",{
|
||||
status:0
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
"dependencies": {
|
||||
"prismarine-nbt": "^1.0.0",
|
||||
"protodef": "^1.2.0",
|
||||
"raknet": "^1.6.6",
|
||||
"raknet": "^1.6.7",
|
||||
"uuid-1345": "^0.99.6"
|
||||
},
|
||||
"devDependencies": {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue