if (diffSq > 0 && diffSq < 250000) // if too large, messes observation
{
if ((Config.COORD_SYNCHRONIZE & 1) == 1
&& (!activeChar.isMoving() // character is not moving, take coordinates from client
|| !activeChar.validateMovementHeading(_heading))) // Heading changed on client = possible obstacle
{
if (Config.DEVELOPER) System.out.println(activeChar.getName() + ": Synchronizing position Client --> Server" + (activeChar.isMoving()?" (collision)":" (stay sync)"));
if (diffSq < 2500) // 50*50 - attack won't work fluently if even small differences are corrected
activeChar.setXYZ(realX, realY, _z);
else