Update last player server position upon teleport.

This commit is contained in:
MobiusDev
2018-03-11 14:17:44 +00:00
parent 85ef7a5c95
commit 67cff0a256
7 changed files with 28 additions and 0 deletions
@@ -10311,6 +10311,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10318,6 +10318,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10328,6 +10328,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10321,6 +10321,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10656,6 +10656,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10256,6 +10256,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);
@@ -10256,6 +10256,10 @@ public final class L2PcInstance extends L2Playable
{ {
getAirShip().sendInfo(this); getAirShip().sendInfo(this);
} }
else // Update last player position upon teleport.
{
setLastServerPosition(getX(), getY(), getZ());
}
// Force a revalidation // Force a revalidation
revalidateZone(true); revalidateZone(true);