用户:
鵀劈瓜巹查看:6 回复:7 评论:6 创建时间:2022-05-10T17:51:40
world.onPlayerJoin(({entity})=>{
entity.spaw=(function*(entity){
while(true){
entity.player.spawnPoint.copy(entity.position);
entity.player.directMessage('存档成功!')
yield
}
})(entity)
});world.onVoxelContact(({entity,voxel})=>{
if(entity.isPlayer);else return
entity.spaw.next()
})
萌新大佬world.onPlayerJoin(({entity})=>{
entity.spawn=(function*(entity){while(true){
entity.player.spawnPoint.copy(entity.position);
entity.player.directMessage('存档成功!');
yield;}})(entity);
entity.onVoxelContact(()=>entity.spawn.next());
});点赞0
评论