return;
}
if(this != player.getTarget())
{
player.setTarget(this);
player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel()));
if(isAutoAttackable(player))
//player.sendPacket(new DoorStatusUpdate(this));
{
player.sendPacket(new StaticObject(this));
}
// correct location
player.sendPacket(new ValidateLocation(this));
}
else
{
player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel()));
if(isAutoAttackable(player))
{
player.getAI().Attack(this, false, shift);
}
else if(!isInRange(player, INTERACTION_DISTANCE))