Translations:Lagback/32/zh

From Minecraft Parkour Wiki
Revision as of 16:50, 6 September 2022 by Pjx1314 (talk | contribs) (Created page with "//detects an error: player moved wrongly, or moved inside a collision box if (noCollisionInside && (movedWrongly || !next_noCollisionInside)) { //lags the player back to their previous position this.setPlayerLocation(this.lastPosX, this.lastPosY, this.lastPosZ, yaw, pitch); return; }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

//detects an error: player moved wrongly, or moved inside a collision box

   if (noCollisionInside && (movedWrongly || !next_noCollisionInside))
   {
       //lags the player back to their previous position
       this.setPlayerLocation(this.lastPosX, this.lastPosY, this.lastPosZ, yaw, pitch);
       return;
   }