More fixing

This commit is contained in:
mhsjlw 2015-08-23 11:31:13 -04:00
parent 9e1d38329c
commit f27a293c7a

6
app.js
View file

@ -31,7 +31,7 @@ server.on('login', function(client) {
});
// send init data so client will start rendering world
client.write('chat', {
client.write('login', {
entityId: client.id,
levelType: 'default',
gameMode: 0,
@ -59,7 +59,7 @@ server.on('login', function(client) {
console.log("Written position, player should spawn");
client.write('flying', {
client.write('update_time', {
age: [0,0],
time: [0,1]
});
@ -82,7 +82,7 @@ server.on('login', function(client) {
});
server.on('error', function(error) {
console.log('Error:', error);
console.log('Error:', error.stack);
});
server.on('listening', function() {