#195 - Fixed teleportation issue
basically when the server lagged and you were at y of 0 it teleported you back to y of 255
This commit is contained in:
parent
f54465caa4
commit
df42f2e876
|
@ -173,7 +173,6 @@ public class PlayerAether
|
|||
if (this.thePlayer.posY < -2)
|
||||
{
|
||||
this.teleportPlayer(false);
|
||||
this.thePlayer.setPositionAndUpdate(thePlayer.posX, 256, thePlayer.posZ);
|
||||
}
|
||||
|
||||
this.thePlayer.addStat(AchievementsAether.enter_aether);
|
||||
|
|
|
@ -47,6 +47,8 @@ public class TeleporterAether extends Teleporter
|
|||
{
|
||||
if (!this.portalSpawn)
|
||||
{
|
||||
entityIn.setPosition(entityIn.posX, 255, entityIn.posZ);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue