When you leave or enter the nether in multiplayer you don't appear at the right location for other clients.
This video shows the bug: http://youtu.be/c1zM8gFB3ro
Here is why this happens: When a player goes through a portal his x- and z-coordinate get multiplied/divided by 8. Then the entity gets spawned in to other dimension.
And after that the player gets moved into the portal where he should spawn. But the last repositioning isn't send to the other clients. Therefor they see the player at x*8, y, z*8 or x/8, y, z/8 (depending if the player left or entered the nether).
To fix this bug we either need to send the absolute coordinates to the other clients after the repositioning or to place the player in the portal before it gets spawned into the world.
Here is how I programmed the second fix with MCP:
In ServerConfigurationManager.java I changed line 507 to 510 from
The screenshot is showing a player who came through the portal breaking a block. You can see him in the background due to the offset.
Since the other two posts on this bug miss out on a lot of important information I decided to repost it. If you mark this bug as duplicate please make sure to make the information visible in the other posts. Thank you!
This issues was posted two times before: