#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:
Kino 2017-11-01 21:38:49 -04:00
parent f54465caa4
commit df42f2e876
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -47,6 +47,8 @@ public class TeleporterAether extends Teleporter
{
if (!this.portalSpawn)
{
entityIn.setPosition(entityIn.posX, 255, entityIn.posZ);
return;
}