NOT FINAL VERSION, stuff still broken but some more fixes

This commit is contained in:
DemiPixel 2015-10-24 00:58:06 -07:00
parent cfa690efb3
commit 1b739c3391

View file

@ -102,8 +102,8 @@ function inject(serv, player) {
gamemode: opt.gamemode || player.gameMode,
levelType:'default'
});
player.emit('change_world');
player.setPosition(opt.position || player.spawnPoint, { yaw: opt.yaw || 0, pitch: opt.pitch || 0 }); // Automatically sends chunks around players
player.emit('change_world');
}
player.spawn = spawn;