Prevent stopping key movement when facing doors.
This commit is contained in:
@ -89,7 +89,7 @@ public class MoveBackwardToLocation implements ClientPacket
|
||||
}
|
||||
|
||||
// Check for possible door logout and move over exploit. Also checked at ValidatePosition.
|
||||
if (DoorData.getInstance().checkIfDoorsBetween(player.getX(), player.getY(), player.getZ(), _targetX, _targetY, _targetZ, player.getInstanceWorld(), false))
|
||||
if (DoorData.getInstance().checkIfDoorsBetween(player.getLastServerPosition(), player.getLocation(), player.getInstanceWorld()))
|
||||
{
|
||||
player.stopMove(player.getLastServerPosition());
|
||||
player.sendPacket(ActionFailed.STATIC_PACKET);
|
||||
|
Reference in New Issue
Block a user