Translations:Lagback/32/zh: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
//检测到错误:玩家的移动与预期不符,或卡进了碰撞箱 |
|||
//detects an error: player moved wrongly, or moved inside a collision box |
|||
if (noCollisionInside && (movedWrongly || !next_noCollisionInside)) |
if (noCollisionInside && (movedWrongly || !next_noCollisionInside)) |
||
{ |
{ |
Latest revision as of 03:30, 7 September 2022
//检测到错误:玩家的移动与预期不符,或卡进了碰撞箱
if (noCollisionInside && (movedWrongly || !next_noCollisionInside)) { //让玩家回到之前的位置 this.setPlayerLocation(this.lastPosX, this.lastPosY, this.lastPosZ, yaw, pitch); return; }