L2Object target = activeChar.getTarget();
if (!(target instanceof L2DoorInstance))
{
activeChar.sendPacket(new SystemMessage(SystemMessageId.INCORRECT_TARGET));
activeChar.sendPacket(new ActionFailed());
return;
}
L2DoorInstance door = (L2DoorInstance)target;
if (!(activeChar.isInsideRadius(door, INTERACTION_DISTANCE, false, false)))