mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-07 12:10:46 +00:00
NOT FINAL VERSION, stuff still broken but some more fixes
This commit is contained in:
parent
cfa690efb3
commit
1b739c3391
1 changed files with 1 additions and 1 deletions
|
|
@ -102,8 +102,8 @@ function inject(serv, player) {
|
||||||
gamemode: opt.gamemode || player.gameMode,
|
gamemode: opt.gamemode || player.gameMode,
|
||||||
levelType:'default'
|
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.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;
|
player.spawn = spawn;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue