Prevent stopping key movement when facing doors.
This commit is contained in:
@@ -94,7 +94,7 @@ public class MoveBackwardToLocation implements ClientPacket
|
||||
}
|
||||
|
||||
// Mobius: 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.getInstanceId()))
|
||||
if (DoorData.getInstance().checkIfDoorsBetween(player.getLastServerPosition(), player.getLocation(), player.getInstanceId()))
|
||||
{
|
||||
player.stopMove(player.getLastServerPosition());
|
||||
player.sendPacket(ActionFailed.STATIC_PACKET);
|
||||
|
Reference in New Issue
Block a user